HHH-5589 mysql does not support column check

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20694 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-09-24 15:39:44 +00:00
parent 13699d792b
commit bc8fee2624
1 changed files with 10 additions and 0 deletions

View File

@ -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;
}
}