It's not necessarily true that you shouldn't use them. RowSets are meant to be implementation specific--they are essentially ResultSets extended for specific purposes determined by vendors. Sun's three rowset implementations are offered only as examples. Cached rowsets, for example, are useful for transferring data to small mobile devices; they allow, for example, modifying the data and resynching with the original database.

If you want to use a rowset, you should use an implementation (and documentation) provided by your jdbc/db vendor. Oracle 9i, for example, offers a JDBC RowSet, OracleJDBCRowSet, and a cached RowSet, OracleCachedRowSet.


@D

At 05:36 PM 12/27/2002 +0000, Alan Williamson wrote:
|||Does anyone know where I could find documentation on
|||sun.jdbc.rowset.CachedRowSet. I tried looking on the regular
|||java related sites and also some Google searches, but no such luck.


I guess that would mean a good indication that you shouldn't be using it.  I
believe there is some documentation around that says you aren't suppose to
use any classes in the sun.* packages as they are liable to change and not
available on all JVM's.
David Gallardo | Software consultant | Author
C/C++ and Java software development | Database development | Internationalization
Author of "Java Oracle Database Development," Prentice-Hall, forthcoming Dec. 2002


____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to