+ Row getNext() throws SQLException {
+ if (null == m_cols) {
+ m_cols = getCols();
+ }
+ if (! m_resultSet.next()) {
+ return null;
+ }
+
+ Row row = new Row(m_cols.length);
+ for (int idx = 0; idx < m_cols.length; ++idx) {
+ row.setValue(idx + 1, m_resultSet.getObject(idx + 1));
+ }
+
+ return row;