提交 462fe551 编写于 作者: C Charly 提交者: GitHub

Required has wrong value

Fix wrong value for Required (NOT NULL)
上级 fc48d6b4
......@@ -64,7 +64,7 @@ public class ExasolTableColumn extends JDBCTableColumn<ExasolTableBase>
this.formatType = JDBCUtils.safeGetString(dbResult, "COLUMN_TYPE");
setName(JDBCUtils.safeGetString(dbResult, "COLUMN_NAME"));
setOrdinalPosition(JDBCUtils.safeGetInt(dbResult, "ORDINAL_POSITION"));
setRequired(JDBCUtils.safeGetBoolean(dbResult, "COLUMN_IS_NULLABLE"));
setRequired(! JDBCUtils.safeGetBoolean(dbResult, "COLUMN_IS_NULLABLE"));
setDefaultValue(JDBCUtils.safeGetString(dbResult, "COLUMN_DEF"));
setMaxLength(JDBCUtils.safeGetInt(dbResult, "COLUMN_SIZE"));
setScale(JDBCUtils.safeGetInt(dbResult, "DECIMAL_DIGITS"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册