Configuration template for NHibernate-2.1.0
Code:
<hibernate-configuration>
<session-factory xmlns="urn:nhibernate-configuration-2.2">
<property name="connection.driver_class">NHibernate.Driver.NpgsqlDriver</property>
<property name="connection.connection_string">Server=127.01.01;Database=NHibernateWCF;User ID=postgres;Password=;</property>
<property name="dialect">NHibernate.Dialect.PostgreSQL81Dialect</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory>
</hibernate-configuration>