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 How to store Objects in Database? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to store Objects in Database?" Watch "How to store Objects in Database?" New topic
Author

How to store Objects in Database?

Ajay Singhal
Ranch Hand

Joined: Jan 10, 2001
Posts: 37
hi! friends
I've written a program which is storing and retrieving objects to a file and now i want to use a database in place of files.
what is the procedure of storing objects to a Database.
should i implement SQLData interface for that purpose.
Ajay Singhal
------------------
rani bedi
Ranch Hand

Joined: Feb 06, 2001
Posts: 358
try using blob datatypes.


Cheers,<br />Rani<br />SCJP, SCWCD, SCBCD
 
GeeCON Prague 2014
 
subject: How to store Objects in Database?