Yes, I had a look at this, and it is confirmed to be broken in the CVS
tip. You can try the driver from jdbc.postgresql.org. It may be more
stable. This did work recently ;(
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jason Davies
Sent: October 27, 2001 8:26 PM
To: [EMAIL PROTECTED]
Subject: [JDBC] DatabaseMetaData.getTables()
There seems to be a problem with DatabaseMetaData.getTables() when I do
ResultSet R=conn.getMetaData().getTables(null, null, "%", null);
It throws a NullPointerException:
Looking at the source, ResultSet.getBytes() is called and it returns
null, causing this exception to be thrown. However I can use
ResultSet.getString() without a problem. I'm using 7.1.3 at the moment.
Does ResultSet.getBytes() need to be fixed or should getTables() be
I'd be grateful for any insights. Or you can just tell me to use the
latest cvs version of PostgreSQL :) What is the consensus on supporting
older versions, will you phase out old code when 7.2 comes out?
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?