diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java index 8212e25f14..297f3762fa 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java @@ -667,4 +667,9 @@ public class Oracle8iDialect extends Dialect { // Oracle supports returning cursors return StandardCallableStatementSupport.REF_CURSOR_INSTANCE; } + + @Override + public boolean canCreateSchema() { + return false; + } } diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java index beb7285065..29307c36ba 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java @@ -396,4 +396,9 @@ public class Oracle9Dialect extends Dialect { public String getNotExpression(String expression) { return "not (" + expression + ")"; } + + @Override + public boolean canCreateSchema() { + return false; + } }