This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes Serializing ResutSet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "Serializing ResutSet" Watch "Serializing ResutSet" New topic
Author

Serializing ResutSet

Xavier George
Ranch Hand

Joined: Jul 29, 2005
Posts: 39
I am badly in need of Serializing Resultset object into secondary storage. So that I can read it later.
Any hint how to do???
[ April 26, 2007: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

Copy the data from the resultset into serializable collection.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2501
    
    8

Can you use a CachedRowSet?
?
CachedRowSet object is a container for rows of data that caches its rows in memory, which makes it possible to operate without always being connected to its data source. Further, it is a JavaBeansTM component and is scrollable, updatable, and serializable.
Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
GeeCON Prague 2014
 
subject: Serializing ResutSet