How to convert a string to a blob for insertion to DB2
I need to update a db2 blob field using a string that I have in memory. I created a COM.ibm.db2.app.Blob variable and also a java.sql.Blob. Neither have the setBytes() method that I've read could be used to do this. Is there anything else I can use?