|
From: Thomas R. <tho...@tr...> - 2005-03-20 18:24:17
|
I have moved the JDBC RowSet support over from the Sandbox. I will be
adding more JavaDocs and some tests later today - just wanted to get
the initial support committed.
Here is a brief usage sample:
SqlRowSet rset = getJdbcTemplate().queryForRowSet(
"select id, name from mytest where id > ? and name < ?",
new Object[] {new Long(1), "Z"});
int i = 0;
while (rset.next()) {
i++;
System.out.println("Row" + i + " " + rset.getString(2));
}
Thomas
|