Skip to content

Commit

Permalink
fix autoincrement check for bigserial on informix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed May 23, 2012
1 parent eb291f7 commit cdd83e0
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -889,9 +889,9 @@ protected Column readColumn(DatabaseMetaDataWrapper metaData, Map<String, Object
column.setDefaultValue(defaultValue.trim());
}

Integer jdbcType = mapUnknownJdbcTypeForColumn(values);
if (jdbcType != null) {
column.setTypeCode(jdbcType);
Integer mappedType = mapUnknownJdbcTypeForColumn(values);
if (mappedType != null) {
column.setTypeCode(mappedType);
} else {
column.setTypeCode((Integer) values.get("DATA_TYPE"));
}
Expand Down

0 comments on commit cdd83e0

Please sign in to comment.