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 ae6321439e..5612fce89c 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java @@ -945,6 +945,11 @@ public class OracleDialect extends Dialect { return getVersion().isSameOrAfter( 23 ); } + @Override + public boolean supportsIfExistsBeforeTypeName() { + return getVersion().isSameOrAfter( 23 ); + } + @Override public String getCascadeConstraintsString() { return " cascade constraints";