HHH-12112 - The query optimizer hint fails on Oracle

This commit is contained in:
Vlad Mihalcea 2017-11-21 15:13:06 +02:00
parent 26041f49e1
commit 88c2bda837
1 changed files with 1 additions and 1 deletions

View File

@ -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