Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disconnected Data

 
Michael Hildner
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Newbie question, been a few years since I've touched Java. Does Java have any support for disconnected data? Like you could grab tables, say from a web service and store in an in-memory database, make changes and persist those changes back to the db?

Really looking for the equivilent of .NET's DataSet class.

Thanks,
Mike
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the JDBC forum...
 
Michael Hildner
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about that, actually I wasn't sure where to post. If there is such an object in Java, it doesn't necessarily have to do with accessing a database, that is, you can build your own in-memory db in code, or read from a text/xml file/web service/whatever, not using drivers. That's why I posted in the beginner area.

Apologies,
Mike
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes there is supports for disconnected data.

Try searching CacheRowSet implementation on sun or google.

optionally you may search for rowset.jar
 
Michael Hildner
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Shailesh,

Thanks for the reply, just needed to know what to look for, appreciate it.

Regards,
Mike
 
Braj Prasad
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Use the following link to download the generic reference implementation from the Sun Developer NetworkJDBC RowSet Implementation

Add it to your classpath, and you should be ready to use the Cached Row Sets.

Braj.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic