[HHH-2261] Setting hibernate.hbm2ddl.auto=validate causes problems on mySQL with numeric fields
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14037 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
33ad68f239
commit
e47d267b52
|
@ -36,7 +36,7 @@ public class MySQLDialect extends Dialect {
|
|||
registerColumnType( Types.VARBINARY, 16777215, "mediumblob" );
|
||||
registerColumnType( Types.VARBINARY, 65535, "blob" );
|
||||
registerColumnType( Types.VARBINARY, 255, "tinyblob" );
|
||||
registerColumnType( Types.NUMERIC, "numeric($p,$s)" );
|
||||
registerColumnType( Types.NUMERIC, "decimal($p,$s)" );
|
||||
registerColumnType( Types.BLOB, "longblob" );
|
||||
registerColumnType( Types.BLOB, 16777215, "mediumblob" );
|
||||
registerColumnType( Types.BLOB, 65535, "blob" );
|
||||
|
|
Loading…
Reference in New Issue