Skip to content

Commit

Permalink
HHH-8500 Interbase does not have a boolean type
Browse files Browse the repository at this point in the history
  • Loading branch information
ArloL authored and brmeyer committed Sep 12, 2013
1 parent 845c367 commit 121346c
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -54,6 +54,7 @@ public InterbaseDialect() {
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) );
Expand Down Expand Up @@ -123,4 +124,4 @@ public String getCurrentTimestampCallString() {
public boolean isCurrentTimestampSelectStringCallable() {
return true;
}
}
}

0 comments on commit 121346c

Please sign in to comment.