Created
March 3, 2014 16:27
-
-
Save KozzyKoder/9328656 to your computer and use it in GitHub Desktop.
NNibernate-Postgres config
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
<?xml version="1.0" encoding="utf-8" ?> | |
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> | |
<session-factory> | |
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> | |
<property name="dialect">NHibernate.Dialect.PostgreSQLDialect</property> | |
<property name="connection.driver_class">NHibernate.Driver.NpgsqlDriver</property> | |
<property name="connection.connection_string_name">TravelRoutesDatabase</property> | |
<property name="proxyfactory.factory_class">NHibernate.Bytecode.DefaultProxyFactoryFactory, NHibernate</property> | |
<mapping assembly="DataAccess"/> | |
</session-factory> | |
</hibernate-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment