Created
October 6, 2009 20:59
-
-
Save orjan/203410 to your computer and use it in GitHub Desktop.
NH DB configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Postgre Nhibernate --> | |
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> | |
<property name="connection.driver_class">NHibernate.Driver.NpgsqlDriver</property> | |
<property name="connection.connection_string"> | |
Server=localhost;Database=sharpdojjo;User ID=postgres;Password=xxx; | |
</property> | |
<property name="dialect">NHibernate.Dialect.PostgreSQL82Dialect</property> | |
<property name="show_sql">false</property> | |
<property name="connection.release_mode">auto</property> | |
<property name="adonet.batch_size">500</property> | |
<property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property> | |
<property name="hbm2ddl.auto">create</property> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment