Re: JDBC- Inserting Objects to Database
Friday, May 4, 2001 12:36 AM
You can use the standard serialization
System of java.
To insert Serializable Object use the JDBC PreparedStatement setBinaryStream method while to select use JDBC ResultSet getBinaryStream property.
I suggest you to store the size of Serializated Object into DB too.