[prev in list] [next in list] [prev in thread] [next in thread]
List: ojb-user
Subject: Streaming of big binary object
From: "Stanley Poon" <spoon () cisco ! com>
Date: 2004-05-26 21:10:22
Message-ID: 004b01c44365$db82b230$312f47ab () amer ! cisco ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic