Permalink
Browse files

FIxed a bug which didn't allow BOOLEAN type to be saved to CUBRID DB.…

… BIT(8) data type solves this issue.
  • Loading branch information...
1 parent 9a4fb4e commit 2f49727175641a3c4df062a659847be2ba0df1ce @kadishmal kadishmal committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
@@ -48,7 +48,7 @@ public CUBRIDDialect() {
registerColumnType( Types.BIGINT, "bigint" );
registerColumnType( Types.BIT, "bit(8)" );
registerColumnType( Types.BLOB, "bit varying(65535)" );
- registerColumnType( Types.BOOLEAN, "bit(1)");
+ registerColumnType( Types.BOOLEAN, "bit(8)");
registerColumnType( Types.CHAR, "char(1)" );
registerColumnType( Types.CLOB, "string" );
registerColumnType( Types.DATE, "date" );

0 comments on commit 2f49727

Please sign in to comment.