<hibernate-configuration>
<session-factories>
<session-factory name="ReportingDao">
<properties>
<property name="connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
<property name="dialect" value="NHibernate.Dialect.MsSql2012Dialect" />
<property name="connection.driver_class" value="NHibernate.Driver.SqlClientDriver" />
<property name="connection.connection_string" value="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\LocalDB\ReportingDB.mdf;Integrated Security=True" />
<property name="hbm2ddl.auto" value="update" />
<property name="current_session_context_class" value="Aquima.WebApplication.WebPersistenceUtility.Session.CurrentHibernateSessionContext, WebPersistenceUtility" />
</properties>
</session-factory>
</session-factories>
</hibernate-configuration> |