Re: Displaying/Pulling Images using JDBC ... - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Displaying/Pulling Images using JDBC ...
Date
Msg-id 027201c0db19$9d3845b0$0401a8c0@INSPIRON
Whole thread Raw
In response to Re: Displaying/Pulling Images using JDBC ...  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-jdbc
 Sorry for the last post.. slip of the finger


Looking at the code; the work is done by PG_Stream, which reads from a
BufferedInputStream into an array until it is done.

I don't really see where it would run into problems.

Can you send me one of the troublesome images.

--dc--
----- Original Message -----
From: "The Hermit Hacker" <scrappy@hub.org>
To: "Tom Lane" <tgl@sss.pgh.pa.us>
Cc: <pgsql-jdbc@postgresql.org>; <peter@retep.org.uk>
Sent: Saturday, May 12, 2001 2:55 PM
Subject: Re: [JDBC] Displaying/Pulling Images using JDBC ...


> On Sat, 12 May 2001, Tom Lane wrote:
>
> > The Hermit Hacker <scrappy@hub.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.
>
> that's kinda what I'm figuring too ... the question is where, and is there
> a suitable work around ;(
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>


pgsql-jdbc by date:

Previous
From: "Dave Cramer"
Date:
Subject: Re: Displaying/Pulling Images using JDBC ...
Next
From: Bruce Momjian
Date:
Subject: Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....