Re: jdbc large object support ??

From: John Thorhauer <jthorhauer(at)phoenixcolor(dot)com>
To: postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: jdbc large object support ??
Date: 2000-07-20 11:08:01
Message-ID: 3976DD91.A1E6E776@phoenixcolor.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Peter Mount wrote:
>
> Large Objects have been supported for years - just not via streams.
>
> Stream support is simply passing an InputStream (say from a file) directly
> to a large object in the database. The ImageViewer example shows the other
> two ways, using setBytes() and using our own extensions.

I tried the setBytes method and it worked great! Thanks for the help.
However, I have another question. If I understand correctly I can use
the setBytes() method or the getLargeObjectAPI() method. Is one
preferred over the other? Does either have any distinct problems that I
should be aware of?

I know these are real general questions but I am trying to make sure
that I start off going in the right direction with this stuff ;-)

Thanks again,
John
--
********************************
** John Thorhauer
** jthorhauer(at)phoenixcolor(dot)com
********************************

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2000-07-20 11:10:34 RE: large object clean up
Previous Message John Thorhauer 2000-07-20 10:52:24 large object clean up