• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Disconnected Data

 
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this to the JDBC forum...
 
Michael Hildner
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Shailesh,

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

Regards,
Mike
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic