HHH-12112 - The query optimizer hint fails on Oracle
This commit is contained in:
parent
26041f49e1
commit
88c2bda837
|
@ -66,7 +66,7 @@ public class Oracle8iDialect extends Dialect {
|
||||||
|
|
||||||
private static final Pattern UNION_KEYWORD_PATTERN = Pattern.compile( "\\bunion\\b" );
|
private static final Pattern UNION_KEYWORD_PATTERN = Pattern.compile( "\\bunion\\b" );
|
||||||
|
|
||||||
private static final Pattern SQL_STATEMENT_TYPE_PATTERN = Pattern.compile("^\\s*(select|insert|update|delete)\\s+.*?");
|
private static final Pattern SQL_STATEMENT_TYPE_PATTERN = Pattern.compile("^(?:\\/\\*.*?\\*\\/)?\\s*(select|insert|update|delete)\\s+.*?");
|
||||||
|
|
||||||
private static final AbstractLimitHandler LIMIT_HANDLER = new AbstractLimitHandler() {
|
private static final AbstractLimitHandler LIMIT_HANDLER = new AbstractLimitHandler() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue