RE: [JDBC] Displaying/Pulling Images using JDBC ...

2001-05-13 Thread Ho, Khanh
Hi Marc, I seem to be having the same problem as you when trying to insert audio files into the database. They are inserted OK using PreparedStatement.setBinaryStream(), but the data is truncated when retrieved using PreparedStatement.getBinaryStream(). This occurs using the jdbc7.1beta5 driver

[JDBC] Compiling JDBC Driver - impossible!

2001-05-13 Thread Mike Cannon-Brookes
Ok, I give up! How do I compile the JDBC driver? I'm running into those dreaded "InputStream as parameter not supported" errors with my current build, and as below this appears to have been fixed. So I've sucked down the latest source from CVS. Now how do I compile JUST the JDBC driver? I've t

RE: [JDBC] Compiling JDBC Driver - impossible!

2001-05-13 Thread Mike Cannon-Brookes
This didn't work. Reason? It tries to call "buildfile" instead of "ant". I modified Makefile.global to set ANT=ant and it gave the same errors as running ant myself. Again, we have two build systems here. Not everyone has ant fixed to 'ant' or 'buildfile', which makes automated builds hard. Why

[JDBC] RE: Compiling JDBC Driver - impossible!

2001-05-13 Thread Mike Cannon-Brookes
I agree, this is an excellent idea. A repository of JDBC driver JARs for each different Postgres release - good thinking. Is there somewhere on the Postgres site we can store these / get them mirrored? -mike Mike Cannon-Brookes - Founder, Core Developer OpenSymphony - http://www.opensymphony.co

[JDBC] ...How to remove ?

2001-05-13 Thread Subhramanya Shiva
How to remove from this mailing list regards Shiva > Hi Marc, > > I'm not sure if you've had a successful solution worked out by now, but our > web application frequently stores and retrieves images (GIF and JPEG at this > stage) using the 7.1 (RC 4 or 5 I think) code and I haven't encou

Re: [JDBC] Displaying/Pulling Images using JDBC ...

2001-05-13 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > ! int ret = (buffer[bpos] & 0x7F); > ! if ((buffer[bpos] &0x80) == 0x80) { > ! ret |= 0x80; > ! } That seems like an awfully ugly (and slow) way of doing unsigned promotion. If Java doesn't have a notion of unsigned chars, per

[JDBC] Pre-compiled drivers ...

2001-05-13 Thread The Hermit Hacker
has anyone checked jdbc.postgresql.org for latest drivers? Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: [EMAIL PROTECTED] secondary: scrappy@{freebsd|postgresql}.org ---(end of broadcas