diff --git a/core/src/main/java/org/hibernate/dialect/MySQL5Dialect.java b/core/src/main/java/org/hibernate/dialect/MySQL5Dialect.java index 9009344c51..56deec2a67 100644 --- a/core/src/main/java/org/hibernate/dialect/MySQL5Dialect.java +++ b/core/src/main/java/org/hibernate/dialect/MySQL5Dialect.java @@ -37,4 +37,14 @@ public class MySQL5Dialect extends MySQLDialect { registerColumnType( Types.VARCHAR, 65535, "varchar($l)" ); registerColumnType( Types.LONGVARCHAR, "longtext" ); } + + /** + * Does this dialect support column-level check constraints? + * + * @return True if column-level CHECK constraints are supported; false + * otherwise. + */ + public boolean supportsColumnCheck() { + return false; + } }