String to Blob (PreparedStatement setBlob())
843854Oct 21 2001 — edited Jan 20 2015Hi!!
I am trying to store an xml string (of type String) in a column of type Blob. Is anyone aware of the syntax or methods I would use in order to convert my string into a Blob before I store it in the db?
I'm using the setBlob method.
Thanks!!