HHH-10015 - Oracle Dialect override Dialect#canCreateSchema() to return false

This commit is contained in:
Andrea Boriero 2015-08-05 12:22:53 +01:00
parent b0cf427c21
commit 1163d2bd0f
2 changed files with 10 additions and 0 deletions

View File

@ -667,4 +667,9 @@ public class Oracle8iDialect extends Dialect {
// Oracle supports returning cursors
return StandardCallableStatementSupport.REF_CURSOR_INSTANCE;
}
@Override
public boolean canCreateSchema() {
return false;
}
}

View File

@ -396,4 +396,9 @@ public class Oracle9Dialect extends Dialect {
public String getNotExpression(String expression) {
return "not (" + expression + ")";
}
@Override
public boolean canCreateSchema() {
return false;
}
}