Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do we store objects in database table?

Tom Barns
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
How do we store and retrieve refernces of objects in a column of a database table,I mean how to store that reference for that object?i headr about serialization?is that we serialize the object to a file and store the name of that file as String in that column and in case we need to deal with that object we need to retrieve the name of that file and deserialized and process it.
I'm not suse if we do it in this way or if there is a better way?
please little example.
thanks for your time.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!