This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Serializing ResutSet" Watch "Serializing ResutSet" New topic

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

Joined: Jan 10, 2002
Posts: 60794

Copy the data from the resultset into serializable collection.

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

Joined: Dec 20, 2006
Posts: 2491

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
jQuery in Action, 2nd edition
subject: Serializing ResutSet
Similar Threads
Storing objects in cookies
Static - Serialization
about serilize/deserilize complex objects
About I/o Files
getting an instance from an application running on different JVM