Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JDBC and Relational Databases 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 and Relational Databases
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: 63532

Copy the data from the resultset into serializable collection.

[Asking smart questions] [About Bear] [Books by Bear]
Jan Cumps

Joined: Dec 20, 2006
Posts: 2562

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
I agree. Here's the link:
subject: Serializing ResutSet
It's not a secret anymore!