private Object getObjectValue(ResultSet resultSet, int columnIndex, ResultSetMetaData metaData)
      throws SQLException {
    Object v;
    if (isBlobColumn(columnIndex, metaData)) {
      v = getBlobData(resultSet, columnIndex);
    } else {
      v = resultSet.getObject(columnIndex);
      if (v instanceof java.util.Date) {
        if (v instanceof java.sql.Date) {
          java.sql.Date sqlDate = (java.sql.Date) v;
          v = new java.util.Date(sqlDate.getTime());
        } else if (v instanceof java.sql.Time) {
          java.sql.Time sqlTime = (java.sql.Time) v;
          v = new java.util.Date(sqlTime.getTime());
        } else if (v instanceof java.sql.Timestamp) {
          java.sql.Timestamp sqlTimestamp = (java.sql.Timestamp) v;
          v = new java.util.Date(sqlTimestamp.getTime());
        }
      }
    }
    return v;
  }
@throws SQLException if the column value get fails
geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/SqlToPdxInstance.java