aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to store Objects in Database?