Google News
logo
JDBC - Interview Questions
What are types of ResultSet in JDBC?
There are three(3) types of ResultSet is available. If we do not declare any ResultSet that means we are calling TYPE_FORWARD_ONLY
 
TYPE_FORWARD_ONLY : cursor can move only forward.
TYPE_SCROLL_INSENSITIVE : cursor can move forward and backward but not sensitive.
TYPE_SCROLL_SENSITIVE : cursor can move forward and backward, but it is sensitive.
Advertisement