The question is as title.
When I use ResultSet in Java, I find if the connection and PreparedStatement are closed, I Can’t read any records from ResultSet.
How to keep readding the ResultSet when the connection is colsed?
The question is as title. When I use ResultSet in Java, I find if
Share
You’re probably looking for disconnected rowsets.
But frankly, most of the time, I just transform the data in a result set into a list of Java objects, and then close the connection, and use this list of objects later on.