Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 633604298c952e00808359f8343a1bfdde79a45b 1 parent cb104cd
@kadishmal kadishmal authored
View
2  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" );
Please sign in to comment.
Something went wrong with that request. Please try again.