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:
parent
13699d792b
commit
bc8fee2624
|
@ -37,4 +37,14 @@ public class MySQL5Dialect extends MySQLDialect {
|
||||||
registerColumnType( Types.VARCHAR, 65535, "varchar($l)" );
|
registerColumnType( Types.VARCHAR, 65535, "varchar($l)" );
|
||||||
registerColumnType( Types.LONGVARCHAR, "longtext" );
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue