From: John Thorhauer <jthorhauer@phoenixcolor.com>
To: postgres-inter <pgsql-interfaces@postgresql.org>
Subject: Re: jdbc large object support ??
Date: Thu, 20 Jul 2000 07:08:01 -0400
Message-ID: <3976DD91.A1E6E776@phoenixcolor.com> (raw)
References: <1B3D5E532D18D311861A00600865478CF1B114@exchange1.nt.maidstone.gov.uk>
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@phoenixcolor.com
********************************
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jthorhauer@phoenixcolor.com
Subject: Re: jdbc large object support ??
In-Reply-To: <3976DD91.A1E6E776@phoenixcolor.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox