Skip to content

Commit

Permalink
HHH-6850 no Types.BINARY mapping in DB2 dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
stliu committed Nov 25, 2011
1 parent 341acf5 commit 8114e9c
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -62,6 +62,7 @@ public DB2Dialect() {
registerColumnType( Types.CLOB, "clob($l)" );
registerColumnType( Types.LONGVARCHAR, "long varchar" );
registerColumnType( Types.LONGVARBINARY, "long varchar for bit data" );
registerColumnType( Types.BINARY, "char($l) for bit data" );
registerColumnType( Types.BOOLEAN, "smallint" );

registerFunction( "avg", new AvgWithArgumentCastFunction( "double" ) );
Expand Down

0 comments on commit 8114e9c

Please sign in to comment.