Re: Displaying/Pulling Images using JDBC ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org, peter(at)retep(dot)org(dot)uk
Subject: Re: Displaying/Pulling Images using JDBC ...
Date: 2001-05-12 18:21:17
Message-ID: 10440.989691677@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

The Hermit Hacker <scrappy(at)hub(dot)org> writes:
> Now, my thought on this is that it *sounds* like the JDBC is
> hitting some sort of control character is the stream that tells it to stop
> sending the image ... is this possible? Some binary character that needs
> to somehow be trapped?

Embedded nulls would be the likely cause of trouble.

If you're seeing OIDs in the database then the actual storage is
presumably in large objects. lo_read and friends are null-safe as far
as I know; probably the problem is somewhere inside the JDBC driver.

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message The Hermit Hacker 2001-05-12 18:55:29 Re: Displaying/Pulling Images using JDBC ...
Previous Message The Hermit Hacker 2001-05-12 16:44:31 Displaying/Pulling Images using JDBC ...