Skip to content

Commit 98f46d6

Browse files
committed
HHH-12848 Restore the original Oracle LimitHandler
Oracle does not support using the SQL 2008 standard limit handler with FOR UPDATE clauses. Thus we need to get back to the old limit handler.
1 parent 92f194f commit 98f46d6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/Oracle12cDialect.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
import org.hibernate.cfg.Environment;
1111
import org.hibernate.dialect.identity.IdentityColumnSupport;
1212
import org.hibernate.dialect.identity.Oracle12cIdentityColumnSupport;
13-
import org.hibernate.dialect.pagination.LimitHandler;
14-
import org.hibernate.dialect.pagination.SQL2008StandardLimitHandler;
1513
import org.hibernate.engine.config.spi.ConfigurationService;
1614
import org.hibernate.engine.config.spi.StandardConverters;
1715
import org.hibernate.service.ServiceRegistry;
@@ -55,11 +53,6 @@ protected void registerDefaultProperties() {
5553
getDefaultProperties().setProperty( Environment.USE_GET_GENERATED_KEYS, "true" );
5654
}
5755

58-
@Override
59-
public LimitHandler getLimitHandler() {
60-
return SQL2008StandardLimitHandler.INSTANCE;
61-
}
62-
6356
@Override
6457
public String getNativeIdentifierGeneratorStrategy() {
6558
return "sequence";

0 commit comments

Comments
 (0)