pgsql-server/src/interfaces/jdbc/org/postgresq ...

From: jurka(at)svr1(dot)postgresql(dot)org (Kris Jurka)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/interfaces/jdbc/org/postgresq ...
Date: 2004-02-03 05:13:56
Message-ID: 20040203051356.6A23DD1D2E0@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: jurka(at)svr1(dot)postgresql(dot)org 04/02/03 01:13:56

Modified files:
src/interfaces/jdbc/org/postgresql/jdbc1: Tag: REL7_4_STABLE
AbstractJdbc1Statement.java
src/interfaces/jdbc/org/postgresql/test/jdbc2: Tag:
REL7_4_STABLE
Jdbc2TestSuite.java
Added files:
src/interfaces/jdbc/org/postgresql/test/jdbc2: Tag:
REL7_4_STABLE
PreparedStatementTest.java

Log message:
Fix the setXXXStream methods. If passed a null InputStream, convert
this to a setNull call. The code originally would try to read the
whole stream in one call to read(), but this doesn't work. The
InputStream API makes it clear you must be prepared to loop and
continue reading if you didn't get the whole request on the first
try.

Per report from Martin Holz.

Browse pgsql-committers by date

  From Date Subject
Next Message Kris Jurka 2004-02-03 05:25:40 pgsql-server/src/interfaces/jdbc/org/postgresq ...
Previous Message Kris Jurka 2004-02-03 05:00:21 pgsql-server/src/interfaces/jdbc/org/postgresq ...