Skip to content

Commit

Permalink
Fix informix unit test and ddlutils builder
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed May 23, 2012
1 parent e2b0a70 commit 64bc79f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ public InformixDdlBuilder() {
protected void writeColumn(Table table, Column column, StringBuilder ddl) {
if (column.isAutoIncrement()) {
printIdentifier(getColumnName(column), ddl);
if (column.getJdbcTypeCode() == Types.BIGINT) {
if (column.getTypeCode() == Types.BIGINT) {
ddl.append(" BIGSERIAL");
} else {
ddl.append(" SERIAL");
Expand Down

0 comments on commit 64bc79f

Please sign in to comment.