HHH-13969 Fix handling of large varbinary for SAP/Sybase ASE

This commit is contained in:
Dan Cao 2020-04-22 23:10:59 +01:00
parent 43936ed1aa
commit f8bf3303c4
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ public class SybaseASE15Dialect extends SybaseDialect {
public SybaseASE15Dialect() { public SybaseASE15Dialect() {
super(); super();
registerColumnType( Types.VARBINARY, "image" );
registerColumnType( Types.VARBINARY, 8000, "varbinary($l)" );
registerColumnType( Types.LONGVARBINARY, "image" ); registerColumnType( Types.LONGVARBINARY, "image" );
registerColumnType( Types.LONGVARCHAR, "text" ); registerColumnType( Types.LONGVARCHAR, "text" );
registerColumnType( Types.BIGINT, "bigint" ); registerColumnType( Types.BIGINT, "bigint" );