Possible Bug with JDBC 8.0-310 JDBC 3

From: NielsG <NielsG(at)aquafold(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Possible Bug with JDBC 8.0-310 JDBC 3
Date: 2005-02-10 09:44:59
Message-ID: 420B2D1B.7010708@aquafold.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I believe there is a bug in JDBC 8 that wasn't there in JDBC 7.4. I
have a function which does a RAISE NOTICE. If I use the 7.4 JDBC driver
and execute it with a Statement.execute("SELECT functionname()"), and
get the warnings with Statement.getWarnings(), the warnings that are
returned do not have any messages with the SQLWarning.getMessage(). I
get the correct number of warnings, but the warning messages are blank.

Doesn't work:
JDBC: JDBC 8.0-310 JDBC 3
Database: Postgresql 8.0 and 7.4.3

Warnings: --->
W (1):
W (2):
W (3):
<---

Works:
JDBC: JDBC 7.4-214 JDBC 3
Database: Postgresql 8.0 and 7.4.3

Warnings: --->
W (1): SNOTICE C00000 my_message_text Fpl_exec.c L1860 Rexec_stmt_raise
W (2): SNOTICE C00000 my_message_text Fpl_exec.c L1860 Rexec_stmt_raise
W (3): SNOTICE C00000 my_message_text Fpl_exec.c L1860 Rexec_stmt_raise
<---

Does anyone know of this bug?

thanks
Niels

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nebojsa Vasiljevic 2005-02-10 09:50:25 Re: SQLException: Invalid precision value. Cannot be less than zero
Previous Message Kris Jurka 2005-02-10 09:08:54 Re: Crystal Reports / PostgreSQL