On 1/25/06, Jean-Yves Sironneau <[EMAIL PROTECTED]> wrote: > I have a question regarding the handling of large data with ojb on the > Postgres platform. > > - I think Blobs are not supported on this platform, is that true ? > - What is the best way to tell ojb to fetch the data from a field on each > access to the field ? > - Is that better to manage that issue "by hand" > > Right now i have an array of bytes as the field corresponding to the big > content, it's > working pertty well except that i get Out of memory errors because the data > stays on the heap.
I think, the Postgres driver (at least the new 8 ones) have no problems handling BYTEA columns with the JDBC Blob interface, so you should be able to tell OJB its a Blob and use BYTEA in the database. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]