Ravi Parmar
Ravi Parmar

Reputation: 1452

OracleCachedRowSet or RowSet

What is the difference (advantages / disadvantages of both of them) between OracleCachedRowSet and RowSet in Java?

Upvotes: 1

Views: 1250

Answers (1)

skaffman
skaffman

Reputation: 403461

OracleCachedRowSet is the Oracle JDBC driver's implementation of the RowSet and CachedRowSet interfaces. You should stick to using RowSet or CachedRowSet only, unless you have a very compelling reason to use the Oracle-specific class, such as wanting to use proprietary methods that are present on OracleCachedRowSet but not on RowSet or CachedRowSet.

Note that your program will be using OracleCachedRowSet at runtime, regardless of whether your source code refers to OracleCachedRowSet or RowSet.

Upvotes: 2

Related Questions