Created
July 28, 2011 21:30
-
-
Save johnathan-sewell/1112615 to your computer and use it in GitHub Desktop.
Bare bones NHibernate configuration for Lexikon app
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> | |
<!-- properties --> | |
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> | |
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> | |
<property name="connection.connection_string_name">db</property> | |
<property name="show_sql">false</property> | |
<property name="dialect">NHibernate.Dialect.MsSql2008Dialect</property> | |
<property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property> | |
<!-- mapping files --> | |
<mapping assembly="lexikon.console" /> | |
</session-factory> | |
</hibernate-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment