Hook to allow derived classes to override list of result collection behavior. The default behavior is to return a list of GroovyRowResult objects corresponding to each row in the ResultSet. @param sql query to execute @param rs the ResultSet to process @return the resulting list of rows @throws SQ
(String sql, ResultSet rs)
| 4555 | * @throws SQLException if a database error occurs |
| 4556 | */ |
| 4557 | protected List<GroovyRowResult> asList(String sql, ResultSet rs) throws SQLException { |
| 4558 | return asList(sql, rs, null); |
| 4559 | } |
| 4560 | |
| 4561 | /** |
| 4562 | * Hook to allow derived classes to override list of result collection behavior. |