The API docs wrote:When a call to the next method returns false, the cursor is positioned after the last row. Any invocation of a ResultSet method which requires a current row will result in a SQLException being thrown. If the result set type is TYPE_FORWARD_ONLY, it is vendor specified whether their JDBC driver implementation will return false or throw an SQLException on a subsequent call to next.
Robert Ingmarsson wrote:Thank you for clearing some dust off the question. What are the alternatives to TYPE_FORWARD_ONLY in sqlite ?
Often the most important part of the news is what they didn't tell.
Often the most important part of the news is what they didn't tell.
Himai Minh wrote:Hi, Rob,
Do we need to add a finally block to close the connection each time?
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|