File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
NHibernate.Config.Templates
NHibernate.Example.Web/Infrastructure
NHibernate.TestDatabaseSetup Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 22<project xmlns =" http://nant.sf.net/release/0.85-rc3/nant.xsd" >
33 <property name =" nhibernate.dialect" value =" NHibernate.Dialect.MsSql2008Dialect" overwrite =" false" />
44 <property name =" nhibernate.command_timeout" value =" 444" overwrite =" false" />
5- <property name =" nhibernate.connection.driver_class" value =" NHibernate.Driver.SqlClientDriver " overwrite =" false" />
5+ <property name =" nhibernate.connection.driver_class" value =" NHibernate.Driver.Sql2008ClientDriver " overwrite =" false" />
66 <property name =" nhibernate.connection.connection_string" value =" Server=.\SQLExpress;initial catalog=nhibernate;Integrated Security=SSPI" overwrite =" false" />
77</project >
Original file line number Diff line number Diff line change 1515 <property name =" format_sql" >true</property >
1616
1717 <!-- This is the System.Data.dll provider for MSSQL Server -->
18- <property name =" connection.driver_class" >NHibernate.Driver.SqlClientDriver </property >
18+ <property name =" connection.driver_class" >NHibernate.Driver.Sql2008ClientDriver </property >
1919 <property name =" dialect" >NHibernate.Dialect.MsSql2008Dialect</property >
2020 <property name =" connection.connection_string" >Server=.\SQLExpress;initial catalog=nhibernate;Integrated Security=SSPI</property >
2121 <property name =" show_sql" >false</property >
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ for your own use before compile tests in VisualStudio.
77<!-- This is the System.Data.dll provider for SQL Server -->
88<hibernate-configuration xmlns =" urn:nhibernate-configuration-2.2" >
99 <session-factory name =" NHibernate.Test" >
10- <property name =" connection.driver_class" >NHibernate.Driver.SqlClientDriver </property >
10+ <property name =" connection.driver_class" >NHibernate.Driver.Sql2008ClientDriver </property >
1111 <property name =" connection.connection_string" >
1212 Server=(local);initial catalog=nhibernate;Integrated Security=SSPI
1313 </property >
1414 <property name =" dialect" >NHibernate.Dialect.MsSql2008Dialect</property >
1515 </session-factory >
16- </hibernate-configuration >
16+ </hibernate-configuration >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public AppSessionFactory(Microsoft.Extensions.Logging.ILoggerFactory loggerFacto
2424 {
2525 db . ConnectionString = @"Server=(local)\SQLEXPRESS;initial catalog=nhibernate;Integrated Security=true" ;
2626 db . Dialect < MsSql2008Dialect > ( ) ;
27- db . Driver < SqlClientDriver > ( ) ;
27+ db . Driver < Sql2008ClientDriver > ( ) ;
2828 } )
2929 . AddMapping ( domainMapping ) ;
3030 Configuration . SessionFactory ( ) . GenerateStatistics ( ) ;
@@ -37,4 +37,4 @@ public ISession OpenSession()
3737 return SessionFactory . OpenSession ( ) ;
3838 }
3939 }
40- }
40+ }
Original file line number Diff line number Diff line change 3030
3131 <property name =" dialect" >NHibernate.Dialect.MsSql2008Dialect</property >
3232
33- <property name =" connection.driver_class" >NHibernate.Driver.SqlClientDriver </property > <!-- Shouldn't be necessary, but is required by some tests -->
33+ <property name =" connection.driver_class" >NHibernate.Driver.Sql2008ClientDriver </property > <!-- Shouldn't be necessary, but is required by some tests -->
3434 <property name =" connection.connection_string_name" >TestConnectionString</property >
3535 <property name =" connection.provider" >NHibernate.Test.DebugConnectionProvider, NHibernate.Test</property >
3636 <property name =" connection.isolation" >ReadCommitted</property > <!-- See System.Data.IsolationLevel for valid values -->
Original file line number Diff line number Diff line change 22<configuration >
33 <configSections >
44 <section name =" hibernate-configuration"
5- type =" NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
5+ type =" NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
66 </configSections >
77
88 <hibernate-configuration xmlns =" urn:nhibernate-configuration-2.2" >
99 <session-factory name =" NHibernate.TestDatabaseSetup" >
10- <property name =" connection.driver_class" >NHibernate.Driver.SqlClientDriver </property >
11- <property name =" connection.connection_string" >
10+ <property name =" connection.driver_class" >NHibernate.Driver.Sql2008ClientDriver </property >
11+ <property name =" connection.connection_string" >
1212 Server=.\SQLExpress;initial catalog=master;Integrated Security=SSPI
1313 </property >
1414 </session-factory >
You can’t perform that action at this time.
0 commit comments