X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3D0138B9CF0 for ; Thu, 10 Feb 2005 09:40:18 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38698-06 for ; Thu, 10 Feb 2005 09:40:09 +0000 (GMT) Received: from aquafold.com (s3.n46.vds2000.com [66.84.46.3]) by svr1.postgresql.org (Postfix) with ESMTP id 312038B9C04 for ; Thu, 10 Feb 2005 09:40:09 +0000 (GMT) Received: from [192.168.1.100] (113.95.218.209.transedge.com [209.218.95.113]) by aquafold.com (8.11.6/8.11.6) with ESMTP id j1A9e8g23464 for ; Thu, 10 Feb 2005 04:40:09 -0500 Message-ID: <420B2D1B.7010708@aquafold.com> Date: Thu, 10 Feb 2005 01:44:59 -0800 From: NielsG User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Possible Bug with JDBC 8.0-310 JDBC 3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200502/61 X-Sequence-Number: 12241 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