HHH-7716 FIxed a bug which didn't allow BOOLEAN type to be saved to

CUBRID DB.
BIT(8) data type solves this issue.
This commit is contained in:
Esen Sagynov 2012-10-25 11:17:44 -04:00 committed by brmeyer
parent 220365600c
commit a0d02a0660
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class CUBRIDDialect extends Dialect {
registerColumnType( Types.BIGINT, "bigint" ); registerColumnType( Types.BIGINT, "bigint" );
registerColumnType( Types.BIT, "bit(8)" ); registerColumnType( Types.BIT, "bit(8)" );
registerColumnType( Types.BLOB, "bit varying(65535)" ); registerColumnType( Types.BLOB, "bit varying(65535)" );
registerColumnType( Types.BOOLEAN, "bit(1)"); registerColumnType( Types.BOOLEAN, "bit(8)");
registerColumnType( Types.CHAR, "char(1)" ); registerColumnType( Types.CHAR, "char(1)" );
registerColumnType( Types.CLOB, "string" ); registerColumnType( Types.CLOB, "string" );
registerColumnType( Types.DATE, "date" ); registerColumnType( Types.DATE, "date" );