In JDBC, to read in big binary objects, one can use getBinaryStream(), and
read the bytes from the returned InputStream.
 
How can this be done in OJB? Currently, I map the binary column to a byte []
field. During the query, the whole binary object is read in. The size of the
object can be > 40 MB. This caused memory problems.
 
Thanks,
Stanley
 
 

Reply via email to