HHH-6935 Use bit type for MySQLDialect's boolean

This commit is contained in:
Brett Meyer 2013-07-01 17:18:44 -04:00
parent 58622f3e10
commit 052886afeb
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ public class MySQLDialect extends Dialect {
registerColumnType( Types.CHAR, "char(1)" );
registerColumnType( Types.FLOAT, "float" );
registerColumnType( Types.DOUBLE, "double precision" );
registerColumnType( Types.BOOLEAN, "bit" ); // HHH-6935
registerColumnType( Types.DATE, "date" );
registerColumnType( Types.TIME, "time" );
registerColumnType( Types.TIMESTAMP, "datetime" );