There are big binary objects (long raw or longvarbinary) > 40 MB in the 
database. In the OJB mapping, the column is mapped to a field declared as byte 
[].

During a query, the whole 40+ MB is loaded into memory. If I'm using JDBC 
directly, I can use getBinaryStream() and read in by blocks. This will save 
lot's of memory. Most of the time, I don't need the whole binary object.

But I couldn't figure out how to do this in OJB. Any suggestions?

Thanks,
Stanley


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to