HHH-8500 Interbase does not have a boolean type

This commit is contained in:
Arlo Louis O'Keeffe 2013-08-29 13:44:25 +02:00 committed by Brett Meyer
parent f08ede4808
commit ea7f1e805c
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ public class InterbaseDialect extends Dialect {
registerColumnType( Types.NUMERIC, "numeric($p,$s)" );
registerColumnType( Types.BLOB, "blob" );
registerColumnType( Types.CLOB, "blob sub_type 1" );
registerColumnType( Types.BOOLEAN, "smallint" );
registerFunction( "concat", new VarArgsSQLFunction( StandardBasicTypes.STRING, "(","||",")" ) );
registerFunction( "current_date", new NoArgSQLFunction( "current_date", StandardBasicTypes.DATE, false ) );