Skip to content
Browse files

Renamed smallint data type to short. Sinonyms in CUBRID but internall…

…y saved as short.
  • Loading branch information...
1 parent f97d826 commit 2940bcfcb62a0cebb75abdd56fd6f5b17f8449fa @kadishmal kadishmal committed Jul 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
View
4 hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
@@ -58,10 +58,10 @@ public CUBRIDDialect() {
registerColumnType( Types.INTEGER, "int" );
registerColumnType( Types.NUMERIC, "numeric($p,$s)" );
registerColumnType( Types.REAL, "double" );
- registerColumnType( Types.SMALLINT, "smallint" );
+ registerColumnType( Types.SMALLINT, "short" );
registerColumnType( Types.TIME, "time" );
registerColumnType( Types.TIMESTAMP, "timestamp" );
- registerColumnType( Types.TINYINT, "smallint" );
+ registerColumnType( Types.TINYINT, "short" );
registerColumnType( Types.VARBINARY, 2000, "bit varying($l)" );
registerColumnType( Types.VARCHAR, 4000, "varchar($l)" );

0 comments on commit 2940bcf

Please sign in to comment.
Something went wrong with that request. Please try again.