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.
This commit is contained in:
Guillaume Smet 2018-07-31 17:55:32 +02:00
parent e84aae23f0
commit d85831f543
1 changed files with 0 additions and 7 deletions

View File

@ -10,8 +10,6 @@ import org.hibernate.boot.model.TypeContributions;
import org.hibernate.cfg.Environment;
import org.hibernate.dialect.identity.IdentityColumnSupport;
import org.hibernate.dialect.identity.Oracle12cIdentityColumnSupport;
import org.hibernate.dialect.pagination.LimitHandler;
import org.hibernate.dialect.pagination.SQL2008StandardLimitHandler;
import org.hibernate.engine.config.spi.ConfigurationService;
import org.hibernate.engine.config.spi.StandardConverters;
import org.hibernate.service.ServiceRegistry;
@ -55,11 +53,6 @@ public class Oracle12cDialect extends Oracle10gDialect {
getDefaultProperties().setProperty( Environment.USE_GET_GENERATED_KEYS, "true" );
}
@Override
public LimitHandler getLimitHandler() {
return SQL2008StandardLimitHandler.INSTANCE;
}
@Override
public String getNativeIdentifierGeneratorStrategy() {
return "sequence";