<hibernate-configuration>
<session-factories>
<session-factory name="ReportingDao">
<properties>
<property name="connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
<property name="dialect" value="NHibernate.Dialect.MsSqlCeDialect" />
<property name="connection.driver_class" value="NHibernate.Driver.SqlServerCeDriver" />
<property name="connection.connection_string" value="Data Source=|DataDirectory|\LocalDB\ReportingDB.sdf" />
<property name="show_sql" value="false" />
<property name="current_session_context_class" value="Aquima.WebApplication.WebPersistenceUtility.Session.CurrentHibernateSessionContext, WebPersistenceUtility" />
</properties>
</session-factory>
</session-factories>
</hibernate-configuration> |