code: @Deprecated
      public static Object getRSVal(ResultSet rs, int idx) throws SQLException {
          Object o = rs.getObject(idx);
  
          // oracle timestamps are not always convertible to a java Date. If ResultSet.getTimestamp is used instead of
          // ResultSet.getObject, a normal java.sql.Timestamp instance is returnd.
          if (o != null && FeatureDetector.isOracleAvailable() && o.getClass().getCanonicalName().startsWith("oracle.sql.TIMESTAMP")){
              o = rs.getTimestamp(idx);
          }
  
          return o;
      }
docs: TODO. Remove class for version 2.0