Serialization and Deserialization

Hi friends I have to sore the object into data base.
That object having at least 70 members.
If I create table having all these members then column become 70 at least.

Instead of this can i store my object as it is into Data base , and retrieve as it is?

Is it possible using Serialization and De serialization?
It's by far to vague. How to store data in a database depends on the nature of the data and the database
yes, you can serialize the object into a stream and save the contents of that into the database as a BLOB.

of course, your individual fields wont be accessible in the database, only a chunk of data that needs to be deserialized before it can be read and/or processed, so sql wont work on it.

but for an easy fix load/save it should work fine.
Topic archived. No new replies allowed.