What is Type_FORWARD_ONLY ResultSet in JDBC?
Answers
Answered by
0
The type TYPE_FORWARD_ONLY means you can only move forward on the result set, not backward, so you get an exception when you try to go back with beforeFirst(). Instead you can either use the following prepareStatement(), which receives the resultset type as a parameter, or to do
Similar questions
Math,
6 months ago
Biology,
6 months ago
Environmental Sciences,
1 year ago
Social Sciences,
1 year ago