Re: BLOB is read into memory instead of streaming (bug?) - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: BLOB is read into memory instead of streaming (bug?)
Date
Msg-id 481A55E2.1080000@ejurka.com
Whole thread Raw
In response to Re: BLOB is read into memory instead of streaming (bug?)  (robert engels <rengels@ix.netcom.com>)
Responses Re: BLOB is read into memory instead of streaming (bug?)  (robert engels <rengels@ix.netcom.com>)
List pgsql-jdbc

robert engels wrote:
> This seems like a very bad impl - at least for JDBC.
>
> Why are the details of this access not hidden in the JDBC driver? The
> column type is the only thing that a user should be concerned with.
>
> Why would someone want to code proprietary Postgres code just to access
> BLOBs?
>
> The JDBC blob API is very good. Using either the BLOB/locator interface
> or the getInputStream();
>

I think you've misunderstood me.  The documentation shows using a
proprietary API, but get/setBlob works just fine.  I pointed to the
documentation because it explains some of the differences between the
bytea and large object datatypes.  It's really that the documentation
needs an additional example for the standard blob usage.

Kris Jurka


pgsql-jdbc by date:

Previous
From: robert engels
Date:
Subject: Re: BLOB is read into memory instead of streaming (bug?)
Next
From: robert engels
Date:
Subject: Re: BLOB is read into memory instead of streaming (bug?)