public static DataType fromSQLType(int sqlType) throws SQLException { DataType rtn = SQL_TYPES.get(sqlType); if (rtn != null) { return rtn; } else { throw new SQLException("Unsupported SQL type: " + sqlType); }
public static DataType fromSQLType(int sqlType) throws SQLException { return fromSQLType(sqlType, 0);
  public static DataType fromSQLType(int sqlType) throws SQLException {    DataType rtn = SQL_TYPES.get(sqlType);    if (rtn != null) {      return rtn;    } else {      throw new SQLException("Unsupported SQL type: " + sqlType);    }  }