From d4ab63ccc05af7b9ba4d513d362fdfcc4c30b43a Mon Sep 17 00:00:00 2001 From: Esen Sagynov Date: Thu, 25 Oct 2012 11:16:20 -0400 Subject: [PATCH] HHH-7716 Renamed smallint data type to short. Sinonyms in CUBRID but internally saved as short. --- .../src/main/java/org/hibernate/dialect/CUBRIDDialect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java index 7f876ac765..e0859d18f3 100755 --- a/hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java @@ -58,10 +58,10 @@ public class CUBRIDDialect extends Dialect { 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)" );