diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java index eaf91defa8..e3d9b4f6ed 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java @@ -935,6 +935,11 @@ public class OracleDialect extends Dialect { return "add"; } + @Override + public boolean supportsIfExistsBeforeTableName() { + return getVersion().isSameOrAfter( 23 ); + } + @Override public String getCascadeConstraintsString() { return " cascade constraints";