OracleCachedRowSet
From: Peter Kirk (peter)
Date: 03/24/04
- Next message: Horst Walter: "Oracle 8 Performance Scrollable Result Sets Last/First"
- Previous message: Alex Molochnikov: "Re: Distributing JDBC Drivers"
- Next in thread: Shuaib Kauchali: "Re: OracleCachedRowSet"
- Reply: Shuaib Kauchali: "Re: OracleCachedRowSet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Mar 2004 08:59:16 +0100
Hi there
is there anyone here who knows about OracleCachedRowSet?
My class calls a method in an existing DAO class which returns an
OracleCachedRowSet to me, containing data from the database. Do I need to
"close" this object after I have used it?
I don't really understand how this object works - it extends ResutSet and a
ResultSet really should be closed after use (although I realise that the
driver should handle tidying up when the Connection is closed). But my
experimentations with OracleCachedRowSet show that if I create my own
Connection, and obtain an OracleCachedRowSet from a query, when I close the
OracleCachedRowSet then the Connection also becomes closed!
Thanks,
Peter
- Next message: Horst Walter: "Oracle 8 Performance Scrollable Result Sets Last/First"
- Previous message: Alex Molochnikov: "Re: Distributing JDBC Drivers"
- Next in thread: Shuaib Kauchali: "Re: OracleCachedRowSet"
- Reply: Shuaib Kauchali: "Re: OracleCachedRowSet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|