How does a custom RowSetReader get called from a CachedRowSet?

Joe Sam Shirah

The Reader must be registered with the CachedRowSet using CachedRowSet.setReader(javax.sql.RowSetReader reader). Once that is done, a call to CachedRowSet.execute() will, among other things, invoke the readData method. See How can I instantiate and load a new CachedRowSet object from a non-JDBC source? for a code example.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact