Bug^H^H^HMisfeature in the JDBC driver

From: "M(dot) A(dot) Sridhar" <m_a_sridhar(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Bug^H^H^HMisfeature in the JDBC driver
Date: 2002-01-30 17:00:40
Message-ID: 20020130170040.35718.qmail@web9006.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi folks,

I'm using the JDBC 7.2dev driver on PostgreSQL 7.1.3 (under Linux [Red Hat
7.2] if it matters). This morning the driver threw a NullPointerException
when I did a ResultSet.getBinaryStream, and I couldn't explain it. So I
switched my target database to Oracle, and this time I got a much more
informative "ResultSet.next was not called" exception from the Oracle
driver. I screwed up, obviously, and after I fixed my code the problem went
away. All the same, I would have liked the Postgres JDBC driver to not
throw an NPE but tell me what I did wrong.

Thanks for listening.

=====
Sridhar
---
M. A. Sridhar
m_a_sridhar(at)yahoo(dot)com

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

Browse pgsql-jdbc by date

  From Date Subject
Next Message tony 2002-01-30 17:28:01 tomcat update
Previous Message Dave Cramer 2002-01-30 16:36:41 Re: getIndexInfo() fails