File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/NHibernate.Test/NHSpecificTest/NH1171 Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
using NHibernate . Cfg ;
2
+ using NHibernate . Dialect ;
2
3
using NUnit . Framework ;
3
4
4
5
namespace NHibernate . Test . NHSpecificTest . NH1171
5
6
{
6
7
[ TestFixture ]
7
- public class Fixture : BugTestCase
8
+ public class Fixture : BugTestCase
8
9
{
9
10
protected override void Configure ( NHibernate . Cfg . Configuration configuration )
10
11
{
@@ -14,6 +15,9 @@ protected override void Configure(NHibernate.Cfg.Configuration configuration)
14
15
[ Test ]
15
16
public void SupportSQLQueryWithComments ( )
16
17
{
18
+ if ( Dialect is FirebirdDialect )
19
+ Assert . Ignore ( "Firebird has issues with comments containing apostrophes" ) ;
20
+
17
21
string sql =
18
22
@"
19
23
SELECT id
@@ -25,7 +29,7 @@ ORDER BY Name
25
29
" ;
26
30
using ( ISession s = OpenSession ( ) )
27
31
{
28
- var q = s . CreateSQLQuery ( sql ) ;
32
+ var q = s . CreateSQLQuery ( sql ) ;
29
33
q . SetString ( "name" , "Evgeny Potashnik" ) ;
30
34
q . List ( ) ;
31
35
}
@@ -34,6 +38,9 @@ ORDER BY Name
34
38
[ Test ]
35
39
public void ExecutedContainsComments ( )
36
40
{
41
+ if ( Dialect is FirebirdDialect )
42
+ Assert . Ignore ( "Firebird has issues with comments containing apostrophes" ) ;
43
+
37
44
string sql =
38
45
@"
39
46
SELECT id
You can’t perform that action at this time.
0 commit comments