HHH-6786 DB2 v97 doesn't support define a boolean type column
This commit is contained in:
parent
dbbb3cb0d3
commit
d370865c9f
|
@ -62,6 +62,7 @@ public class DB2Dialect extends Dialect {
|
|||
registerColumnType( Types.CLOB, "clob($l)" );
|
||||
registerColumnType( Types.LONGVARCHAR, "long varchar" );
|
||||
registerColumnType( Types.LONGVARBINARY, "long varchar for bit data" );
|
||||
registerColumnType( Types.BOOLEAN, "smallint" );
|
||||
|
||||
registerFunction( "avg", new AvgWithArgumentCastFunction( "double" ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue