Skip to content

Commit

Permalink
0002109: Trigger creation fails on Sybase ASE database for CLOB,BLOB,…
Browse files Browse the repository at this point in the history
…BINARY,VARBINARY,LONGBINARY
  • Loading branch information
chenson42 committed Dec 22, 2014
1 parent bb8ef9d commit d271055
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -233,17 +233,17 @@ protected String buildKeyVariablesDeclare(Column[] columns, String prefix) {
text += "bit\n";
break;
case Types.CLOB:
text += "varchar(max)\n";
text += "varchar(32767)\n";
break;
case Types.BLOB:
case Types.BINARY:
case Types.VARBINARY:
case Types.LONGVARBINARY:
case -10: // SQL-Server ntext binary type
text += "varbinary(max)\n";
text += "varbinary(32767)\n";
break;
case Types.OTHER:
text += "varbinary(max)\n";
text += "varbinary(32767)\n";
break;
default:
if (columns[i].getJdbcTypeName() != null
Expand Down

0 comments on commit d271055

Please sign in to comment.