Serializing an Object to a String instead of a File
807589Nov 27 2008 — edited Nov 29 2008Hey,
I'd like to serialize an object to an SQL database using JDBC. With the structure of the database, it would be much easier to serialize the object to a String and then upload the String to the database. However, I've only found ways to serialize objects to File objects. It seems like the File is just going to be a text document filled with numbers / letters, so why can't I just serialize to a String?