wood burning stoves 2.0*
The moose likes JDBC and the fly likes how to store object in a table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to store object in a table" Watch "how to store object in a table" New topic

how to store object in a table

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
How can we store the objects in SQL Server7.0 database.
what datatype will take the objects?I am trying to store the JAVA Objects in the table.But it is Raising Exception.
I have used image datatype to store thae objects.This is storing only Sting objects.
please help me out?
Ranch Hand

Joined: Aug 06, 2000
Posts: 60
Use BLOB for it

It is sorta covered in the JavaRanch Style Guide.
subject: how to store object in a table
Similar Threads
Storing objects in cookies
Date datatype in Java
ByteArray converted to a String to store in database
Doubt in long datatype
Store Object in Database