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 2
2
<project xmlns =" http://nant.sf.net/release/0.85-rc3/nant.xsd" >
3
3
<property name =" nhibernate.dialect" value =" NHibernate.Dialect.MsSql2008Dialect" overwrite =" false" />
4
4
<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" />
6
6
<property name =" nhibernate.connection.connection_string" value =" Server=.\SQLExpress;initial catalog=nhibernate;Integrated Security=SSPI" overwrite =" false" />
7
7
</project >
Original file line number Diff line number Diff line change 15
15
<property name =" format_sql" >true</property >
16
16
17
17
<!-- 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 >
19
19
<property name =" dialect" >NHibernate.Dialect.MsSql2008Dialect</property >
20
20
<property name =" connection.connection_string" >Server=.\SQLExpress;initial catalog=nhibernate;Integrated Security=SSPI</property >
21
21
<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.
7
7
<!-- This is the System.Data.dll provider for SQL Server -->
8
8
<hibernate-configuration xmlns =" urn:nhibernate-configuration-2.2" >
9
9
<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 >
11
11
<property name =" connection.connection_string" >
12
12
Server=(local);initial catalog=nhibernate;Integrated Security=SSPI
13
13
</property >
14
14
<property name =" dialect" >NHibernate.Dialect.MsSql2008Dialect</property >
15
15
</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
24
24
{
25
25
db . ConnectionString = @"Server=(local)\SQLEXPRESS;initial catalog=nhibernate;Integrated Security=true" ;
26
26
db . Dialect < MsSql2008Dialect > ( ) ;
27
- db . Driver < SqlClientDriver > ( ) ;
27
+ db . Driver < Sql2008ClientDriver > ( ) ;
28
28
} )
29
29
. AddMapping ( domainMapping ) ;
30
30
Configuration . SessionFactory ( ) . GenerateStatistics ( ) ;
@@ -37,4 +37,4 @@ public ISession OpenSession()
37
37
return SessionFactory . OpenSession ( ) ;
38
38
}
39
39
}
40
- }
40
+ }
Original file line number Diff line number Diff line change 30
30
31
31
<property name =" dialect" >NHibernate.Dialect.MsSql2008Dialect</property >
32
32
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 -->
34
34
<property name =" connection.connection_string_name" >TestConnectionString</property >
35
35
<property name =" connection.provider" >NHibernate.Test.DebugConnectionProvider, NHibernate.Test</property >
36
36
<property name =" connection.isolation" >ReadCommitted</property > <!-- See System.Data.IsolationLevel for valid values -->
Original file line number Diff line number Diff line change 2
2
<configuration >
3
3
<configSections >
4
4
<section name =" hibernate-configuration"
5
- type =" NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
5
+ type =" NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
6
6
</configSections >
7
7
8
8
<hibernate-configuration xmlns =" urn:nhibernate-configuration-2.2" >
9
9
<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" >
12
12
Server=.\SQLExpress;initial catalog=master;Integrated Security=SSPI
13
13
</property >
14
14
</session-factory >
You can’t perform that action at this time.
0 commit comments