You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Roland Carlsson <ma...@javalia.se> on 2003/08/22 13:41:08 UTC
Collection of blob = OutOfMemoryError
Hi!
I have a tables that holds jpegs in a blob-column. My problem is how do I
fetch a collection of these blobs without getting an OutOfMemoryError?
I have mapped my column as BLOB/byte[]. So my class loads the whole blob
from the database no matter if I'm going to use it or not (eg, only use the
id of the db-row). Is there a way to only get a stream to the blob instead
of the byte[]?
Any feedback are appriceated!
Thanks in advance
Roland Carlsson
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org