aspose file tools*
The moose likes JDBC and the fly likes CachedRowSetImpl not responding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "CachedRowSetImpl not responding" Watch "CachedRowSetImpl not responding" New topic
Author

CachedRowSetImpl not responding

Jean Maurice milazar
Greenhorn

Joined: May 17, 2010
Posts: 9
I am using jdk 1.6 and am implementing an rmi application. At point i have to return a resultset to my client. since resultset are not serialisable i have used cachedRowSet instead the problem is that i am getting cachedRowSetImpl is deprecated. May some one light me other this matter or guide how i can obtain the class cachedrowsetimpl.
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1081

can you put your code here ?

Shailesh


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
Alan Moor
Greenhorn

Joined: Apr 07, 2010
Posts: 3
We have a completely free implementation of JSR 114 on Sourceforge (search Ross Group Rowset). It is a derivative work on Sun's reference implementation. We will be maintaining this version for the foreseeable future. We created this project due to issues with the reference implementation and what we perceived to be misinterpretations by Sun of the specification. Also, the reference implementation does not provide the full feature set defined in the spec.

What we've done so far:
1 - Allow insertRow() even if not all "not null" columns have values.
2 - Added an "addColumn" method so you can dynamically add columns to an existing CachedRowSet. Also, these are added as "read only" so they are NOT persisted back to the data store.
3 - Several performance improvements, particularly in String handling. Seems the guys who wrote Sun's implementation love to use str1 += " more memory allocations".

Coming very soon (later this week):
1 - Support for setReadOnly() on columns, and respecting that in updates and inserts.
2 - Proper implementation of undoUpdate, undoDelete, and undoInsert.

Again, this is completely free, distribute it how you want, we don't want anything from you except feedback.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CachedRowSetImpl not responding