String jdbcTypeStr = ele.getAttributeValue("jdbc-type");
int length = StringUtils.parseInt(ele.getAttributeValue("length"), -1);
int scale = StringUtils.parseInt(ele.getAttributeValue("scale"), -1);
JdbcType jdbcType;
if (jdbcTypeStr != null) {
jdbcType = dbTypeMap.get(jdbcTypeStr);
if(jdbcType == null)
jdbcType = SqlTypeInterface.stringToJdbcType(jdbcTypeStr);
} else if (fieldName == null) { // fieldName == null implies primary key