with jdbc 3.0 you can use CachedRowSet class, which provide you a
disconnected ResultSet. here's a snippet:
[code]
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery(
"SELECT COF_NAME, PRICE FROM COFFEES");
CachedRowSet rset = new CachedRowSet();
crset.populate(rs);
rs.close();
stmt.close();
[/code]
if you can't, you could create a collection of Map, where a map is a
row.
Stefano
miche - 21 Jun 2007 09:55 GMT
stefanomnn ha scritto:
> with jdbc 3.0 you can use CachedRowSet class, which provide you a
> disconnected ResultSet. here's a snippet:
[quoted text clipped - 13 lines]
>
> Stefano
Hi Stefano
You are very kind...
I can try your suggestion...
Thank you so mutch!
Michele
bye bye