rocket mass heater kickstarter
The moose likes JDBC and Relational Databases 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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
 
subject: How to store Objects in Database?