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
India Languages,
5 months ago
Science,
5 months ago
Computer Science,
10 months ago
Environmental Sciences,
11 months ago
Social Sciences,
11 months ago
Science,
11 months ago