Answer the question
In order to leave comments, you need to log in
How to cast a blob (>32k) to a string?
Hello!
Task: in the db2 database there is a table with a BLOB type column, it maintains data in JSON format, the size can exceed 32kb (varchar overflow), this data needs to be obtained. ORM - OpenJPA
tried casting to java.sql.Blob, pulling out an array of bytes from it, etc.,
everything I have is not working - the class of the object into which this blob is thrown (com.ibm.db2.jcc.am.he) .
thanks in advance
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question