HHH-7716 Renamed smallint data type to short. Sinonyms in CUBRID but

internally
saved as short.
This commit is contained in:
Esen Sagynov 2012-10-25 11:16:20 -04:00 committed by brmeyer
parent 9534ffc94c
commit d4ab63ccc0
1 changed files with 2 additions and 2 deletions

View File

@ -58,10 +58,10 @@ public class CUBRIDDialect extends Dialect {
registerColumnType( Types.INTEGER, "int" ); registerColumnType( Types.INTEGER, "int" );
registerColumnType( Types.NUMERIC, "numeric($p,$s)" ); registerColumnType( Types.NUMERIC, "numeric($p,$s)" );
registerColumnType( Types.REAL, "double" ); registerColumnType( Types.REAL, "double" );
registerColumnType( Types.SMALLINT, "smallint" ); registerColumnType( Types.SMALLINT, "short" );
registerColumnType( Types.TIME, "time" ); registerColumnType( Types.TIME, "time" );
registerColumnType( Types.TIMESTAMP, "timestamp" ); registerColumnType( Types.TIMESTAMP, "timestamp" );
registerColumnType( Types.TINYINT, "smallint" ); registerColumnType( Types.TINYINT, "short" );
registerColumnType( Types.VARBINARY, 2000, "bit varying($l)" ); registerColumnType( Types.VARBINARY, 2000, "bit varying($l)" );
registerColumnType( Types.VARCHAR, 4000, "varchar($l)" ); registerColumnType( Types.VARCHAR, 4000, "varchar($l)" );