HHH-6850 no Types.BINARY mapping in DB2 dialect
This commit is contained in:
parent
341acf5949
commit
8114e9c5ae
|
@ -62,6 +62,7 @@ public class DB2Dialect extends Dialect {
|
||||||
registerColumnType( Types.CLOB, "clob($l)" );
|
registerColumnType( Types.CLOB, "clob($l)" );
|
||||||
registerColumnType( Types.LONGVARCHAR, "long varchar" );
|
registerColumnType( Types.LONGVARCHAR, "long varchar" );
|
||||||
registerColumnType( Types.LONGVARBINARY, "long varchar for bit data" );
|
registerColumnType( Types.LONGVARBINARY, "long varchar for bit data" );
|
||||||
|
registerColumnType( Types.BINARY, "char($l) for bit data" );
|
||||||
registerColumnType( Types.BOOLEAN, "smallint" );
|
registerColumnType( Types.BOOLEAN, "smallint" );
|
||||||
|
|
||||||
registerFunction( "avg", new AvgWithArgumentCastFunction( "double" ) );
|
registerFunction( "avg", new AvgWithArgumentCastFunction( "double" ) );
|
||||||
|
|
Loading…
Reference in New Issue