Re: NullPointerException in rg.postgresql.jdbc2.ResultSet.getBytes - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: NullPointerException in rg.postgresql.jdbc2.ResultSet.getBytes
Date
Msg-id 3CDC3C5C.6090006@xythos.com
Whole thread Raw
In response to NullPointerException in rg.postgresql.jdbc2.ResultSet.getBytes  ("Paul Meigniez" <paul.meigniez@ubik.ch>)
List pgsql-jdbc
Paul,

This appears to already be fixed.  I can reproduce this with 7.2 code,
but not with current 7.3development code.

--Barry

Paul Meigniez wrote:
> Hello,
>
> We use PostgreSQL version 7.2 in our application. In this context, I
> discovered the following problem: when you try to get the index info of a
> database, a NullPointerException occurs if there is an unique index defined
> in a table.
> I attached a test program demonstrated the problem. You will find in a
> commentar in the beginning of the file, the SQL instructions used to create
> the database and the test table.
>
> Thank you for your attention.
> Best regards.
>
> Paul Meigniez
> UBIK S.A.
> Av. Cortot, 7D, 1260 NYON,
> Switzerland
> Tel: +41 22 362 04 60
> Fax: +41 22 362 04 61
> mailto:paul.meigniez@ubik.ch
> http://www.ubik.ch
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)



pgsql-jdbc by date:

Previous
From: "Tim Lucia"
Date:
Subject: Re: extended error codes in the JDBC driver
Next
From: blamouret
Date:
Subject: select * from mytable where myfield=null;