Skip to content

Commit

Permalink
Merge branch '3.8' of https://github.com/JumpMind/symmetric-ds into 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jul 13, 2016
2 parents d90a59c + 65c4f7d commit c98a5cb
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -517,6 +517,11 @@ public static String lookupColumnName(ResultSetMetaData resultSetMetaData, int c
}
return name;
}

@Deprecated
public static Object getResultSetValue(ResultSet rs, int index, boolean readStringsAsBytes) throws SQLException {
return getResultSetValue(rs, null, index, readStringsAsBytes);
}

/**
* Retrieve a JDBC column value from a ResultSet, using the most appropriate
Expand Down Expand Up @@ -545,6 +550,9 @@ public static String lookupColumnName(ResultSetMetaData resultSetMetaData, int c
* @see java.sql.Timestamp
*/
public static Object getResultSetValue(ResultSet rs, ResultSetMetaData metaData, int index, boolean readStringsAsBytes) throws SQLException {
if (metaData == null) {
metaData = rs.getMetaData();
}
Object obj = null;
int jdbcType = metaData.getColumnType(index);
String jdbcTypeName = metaData.getColumnTypeName(index);
Expand Down

0 comments on commit c98a5cb

Please sign in to comment.