UpgradeSkipLockedTest, PessimisticReadSkipLockedTest and OracleFollowOnLockingTest fail with Oracle12c

Description

org.hibernate.test.locking.UpgradeSkipLockedTest.testOracleSkipLocked
org.hibernate.test.locking.PessimisticReadSkipLockedTest.testOracleSkipLocked
org.hibernate.test.dialect.functional.OracleFollowOnLockingTest.testPessimisticLockWithMaxResultsThenNoFollowOnLocking

These tests pass with older versions of Oracle databases, but fail with Oracle12. It looks like that Oracle12c doesn't support FOR UPDATE together with FETCH FIRST ....

Oracle11gR2 (with Oracle10gDialect) uses different query

Difference with Oracle12cDialect is LimitHandler

It's probably only test issue, but I'm not sure.

Environment

Oracle12c

Status

Assignee

Guillaume Smet

Reporter

Martin Šimka

Fix versions

Labels

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure