ResultSet Type
In this chapter you will learn:
Type of ResultSet
There are three types of ResultSet.
Type | Description |
---|---|
ResultSet.TYPE_FORWARD_ONLY | The cursor can only move forward. |
ResultSet.TYPE_SCROLL_INSENSITIVE | The cursor can move forwards and backwards, and the result set is not sensitive to changes made by others after the result set was created. |
ResultSet.TYPE_SCROLL_SENSITIVE. | The cursor can move forwards and backwards, and the result set is sensitive to changes made by others after the result set was created. |
If you do not specify any ResultSet type, the default is TYPE_FORWARD_ONLY
.
Next chapter...
What you will learn in the next chapter:
Home » Java Tutorial » Statements, ResultSet, Exception, Warning