Computer Science, asked by azar6645, 10 months ago

What is Type_FORWARD_ONLY ResultSet in JDBC?

Answers

Answered by davinder1201
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