[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:
Diego Plentz 2007-09-29 19:38:53 +00:00
parent 33ad68f239
commit e47d267b52
1 changed files with 1 additions and 1 deletions

View File

@ -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" );