Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
NHibernate version: 1.2.1
Name and version of the database you are using: Informix 11
I want to use NHibernate for connecting to an Informix 11 DBMS. I am not sure how to set up the config file for the connection. I use the ADO.NET Informix Provider but what do I have to write into these properties?
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory name="NHibernate.Informix">
<!-- properties -->
<!-- Connection provider -->
<property name="connection.provider"> ??? </property>
<!-- Driver -->
<property name="connection.driver_class"> ??? </property>
<!-- Dialect -->
<property name="dialect">NHibernate.Dialect.InformixDialect</property>
<!-- Connection String -->
<property name="connection.connection_string"> ??? </property>
<!-- for debug purposes -->
<property name="show_sql">false</property>
<!-- Enables outer join fetching -->
<property name="use_outer_join">false</property>
<!-- Substitutions -->
<property name="query.substitutions"></property>
</session-factory>
</hibernate-configuration>