File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/NHibernate.Test/Async/Tools/hbm2ddl/SchemaValidator Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
11
11
using System ;
12
- using System . Data ;
13
12
using NHibernate . Dialect ;
14
13
using NHibernate . Util ;
15
14
using NUnit . Framework ;
@@ -31,8 +30,16 @@ protected override bool AppliesTo(Dialect.Dialect dialect)
31
30
case MsSql2000Dialect _:
32
31
case PostgreSQLDialect _:
33
32
case SQLiteDialect _:
33
+ case MsSqlCeDialect _:
34
34
return true ;
35
35
default :
36
+ // Firebird does not support schema. Its current dialect leave table name being schema prefixed,
37
+ // which causes SQL parse errors. It has a "create schema" command but instead creates a new
38
+ // database.
39
+ // MySql does not truly support schema. Its current dialect leave table name being schema prefixed,
40
+ // which is interpreted as a database name. It has a "create schema" command but instead creates
41
+ // a new database.
42
+ // Oracle tightly bounds schema to users.
36
43
return false ;
37
44
}
38
45
}
@@ -72,7 +79,7 @@ protected override void CreateSchema()
72
79
73
80
protected override void DropSchema ( )
74
81
{
75
- // SQL-Server do not need this call, but Postgres does not accept dropping a schema carrying objects.
82
+ // SQL-Server does not need this call, but Postgres does not accept dropping a schema carrying objects.
76
83
base . DropSchema ( ) ;
77
84
78
85
switch ( Dialect )
You can’t perform that action at this time.
0 commit comments