This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Disconnected Data

 
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
 
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
 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • 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
 
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.
    Bookmark Topic Watch Topic
  • New Topic