7.1beta1 JDBC bug?
Stu Coates <stu@stucoates.com>
From: Stu Coates <stu@StuCoates.com>
To: pgsql-bugs@postgresql.org
Date: 2000-12-09T18:42:19Z
Lists: pgsql-bugs
Attachments
- Test.java (text/plain)
- maketesttable.sql (text/plain)
I think that I've found a little bug in the 7.1beta1 JDBC drivers. Attached is a simple test case which produces the problem on my setup (LinuxPPC 2000, on Apple PowerMac G3-400Mhz, 512MB). It would seem that the drivers and/or the DBMS has a problem with nested queries, even simple ones. Here's the stacktrace: Bad Long at org.postgresql.jdbc2.ResultSet.getLong(ResultSet.java:284) at Test.go(Test.java:35) at Test.main(Test.java:15) I'm using the 7.0.2 JDBC drivers against the 7.1beta1 backend and everything seems to be working fine. Stu. -- Stu Coates Chelmsford, England U.K. http://www.StuCoates.com/ The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners.