Skip to content

Commit 7b9ebaf

Browse files
committed
NH-2255 - Oracle 12c does not support row_limiting_clause with for_update_clause
1 parent 88fb970 commit 7b9ebaf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/NHibernate.Test/Pagination/PaginationFixture.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Collections;
33
using NHibernate.Cfg;
44
using NHibernate.Criterion;
5+
using NHibernate.Dialect;
56
using NUnit.Framework;
67
using Environment=NHibernate.Cfg.Environment;
78

@@ -76,6 +77,10 @@ public void PagTest()
7677
[Test]
7778
public void PagingWithLock_NH2255()
7879
{
80+
if (Dialect is Oracle12cDialect)
81+
Assert.Ignore(@"Oracle does not support row_limiting_clause with for_update_clause
82+
See: https://docs.oracle.com/database/121/SQLRF/statements_10002.htm#BABHFGAA");
83+
7984
using (ISession s = OpenSession())
8085
using (ITransaction t = s.BeginTransaction())
8186
{

0 commit comments

Comments
 (0)