Re: NullPointerException in rg.postgresql.jdbc2.ResultSet.getBytes

From: Barry Lind <barry(at)xythos(dot)com>
To: paul(dot)meigniez(at)ubik(dot)ch
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: NullPointerException in rg.postgresql.jdbc2.ResultSet.getBytes
Date: 2002-05-10 21:32:12
Message-ID: 3CDC3C5C.6090006@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)meigniez(at)ubik(dot)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(at)postgresql(dot)org)

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message blamouret 2002-05-11 21:19:20 select * from mytable where myfield=null;
Previous Message Tim Lucia 2002-05-10 12:27:08 Re: extended error codes in the JDBC driver