access to the data in the ResultSet after close a connection
|
| View previous topic :: View next topic |
| Author |
Message |
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| If you close a connection, can you still access the data in the Resultset |
| |
|
|
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| Depends on the ResultSet, i.e., on the JDBC driver. |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| What about setting the connection to null? |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
For a given database, just try it and see.
You cannot set an object to null. |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
Ok
What if i have oracle jdbc driver |
| |
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
| Roombor, tias |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| Ok |
| |
|
|
|
|