/** * Converts a <code>ResultSet</code> object to a <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * * @return The <code>Result</code> object created from the <code>ResultSet</code> */ public static Result toResult(ResultSet rs) { try { return new ResultImpl(rs, -1, -1); } catch (SQLException ex) { return null; } }
/** * Converts a <code>ResultSet</code> object to a <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * * @return The <code>Result</code> object created from the <code>ResultSet</code> */ public static Result toResult(ResultSet rs) { try { return new ResultImpl(rs, -1, -1); } catch (SQLException ex) { return null; } }
/** * Converts a <code>ResultSet</code> object to a <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @return The <code>Result</code> object created from the <code>ResultSet</code> */ public static Result toResult(ResultSet rs) { try { return new ResultImpl(rs, -1, -1); } catch (SQLException ex) { return null; } }
/** * Converts a <code>ResultSet</code> object to a <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @return The <code>Result</code> object created from the <code>ResultSet</code> */ public static Result toResult(ResultSet rs) { try { return new ResultImpl(rs, -1, -1); } catch (SQLException ex) { return null; } }
/** * Converts a <code>ResultSet</code> object to a <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * * @return The <code>Result</code> object created from the <code>ResultSet</code> */ public static Result toResult(ResultSet rs) { try { return new ResultImpl(rs, -1, -1); } catch (SQLException ex) { return null; } }
/** * Converts a <code>ResultSet</code> object to a <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * * @return The <code>Result</code> object created from the <code>ResultSet</code> */ public static Result toResult(ResultSet rs) { try { return new ResultImpl(rs, -1, -1); } catch (SQLException ex) { return null; } }
/** * Converts a <code>ResultSet</code> object to a <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * * @return The <code>Result</code> object created from the <code>ResultSet</code> */ public static Result toResult(ResultSet rs) { try { return new ResultImpl(rs, -1, -1); } catch (SQLException ex) { return null; } }
/** * Converts <code>maxRows</code> of a <code>ResultSet</code> object to a * <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @param maxRows the maximum number of rows to be cached into the <code>Result</code> object. * @return The <code>Result</code> object created from the <code>ResultSet</code>, * limited by <code>maxRows</code> */ public static Result toResult(ResultSet rs, int maxRows) { try { return new ResultImpl(rs, -1, maxRows); } catch (SQLException ex) { return null; } }
/** * Converts <code>maxRows</code> of a <code>ResultSet</code> object to a * <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @param maxRows the maximum number of rows to be cached into the <code>Result</code> object. * * @return The <code>Result</code> object created from the <code>ResultSet</code>, * limited by <code>maxRows</code> */ public static Result toResult(ResultSet rs, int maxRows) { try { return new ResultImpl(rs, -1, maxRows); } catch (SQLException ex) { return null; } }
/** * Converts <code>maxRows</code> of a <code>ResultSet</code> object to a * <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @param maxRows the maximum number of rows to be cached into the <code>Result</code> object. * * @return The <code>Result</code> object created from the <code>ResultSet</code>, * limited by <code>maxRows</code> */ public static Result toResult(ResultSet rs, int maxRows) { try { return new ResultImpl(rs, -1, maxRows); } catch (SQLException ex) { return null; } }
/** * Converts <code>maxRows</code> of a <code>ResultSet</code> object to a * <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @param maxRows the maximum number of rows to be cached into the <code>Result</code> object. * @return The <code>Result</code> object created from the <code>ResultSet</code>, * limited by <code>maxRows</code> */ public static Result toResult(ResultSet rs, int maxRows) { try { return new ResultImpl(rs, -1, maxRows); } catch (SQLException ex) { return null; } }
/** * Converts <code>maxRows</code> of a <code>ResultSet</code> object to a * <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @param maxRows the maximum number of rows to be cached into the <code>Result</code> object. * * @return The <code>Result</code> object created from the <code>ResultSet</code>, * limited by <code>maxRows</code> */ public static Result toResult(ResultSet rs, int maxRows) { try { return new ResultImpl(rs, -1, maxRows); } catch (SQLException ex) { return null; } }
/** * Converts <code>maxRows</code> of a <code>ResultSet</code> object to a * <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @param maxRows the maximum number of rows to be cached into the <code>Result</code> object. * * @return The <code>Result</code> object created from the <code>ResultSet</code>, * limited by <code>maxRows</code> */ public static Result toResult(ResultSet rs, int maxRows) { try { return new ResultImpl(rs, -1, maxRows); } catch (SQLException ex) { return null; } }
/** * Converts <code>maxRows</code> of a <code>ResultSet</code> object to a * <code>Result</code> object. * * @param rs the <code>ResultSet</code> object * @param maxRows the maximum number of rows to be cached into the <code>Result</code> object. * * @return The <code>Result</code> object created from the <code>ResultSet</code>, * limited by <code>maxRows</code> */ public static Result toResult(ResultSet rs, int maxRows) { try { return new ResultImpl(rs, -1, maxRows); } catch (SQLException ex) { return null; } }