• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to store Objects in Database?

 
Ajay Singhal
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try using blob datatypes.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!