regarding saving files or objects in database
hi to all,
I need a suggestion from regarding saving object or any kind of file either it is a object or simple file or word document or image etc.. to a sql database.What is the efficient way to store such kind of objects to save in database.
I know only two kinds of saving objects.
1)Using Blob and saving object directly in data base.
2)Using serialization to serialize objects or files and store in database and retrieve using externalization.
Most important thing is effect way of storing data and retrieve data in same original format.
Which one of this is good and are they any more effective ways for my requirement
Thanks to all in advance