Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B2F699FB6AC for ; Tue, 5 Jun 2007 17:42:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 97916-09 for ; Tue, 5 Jun 2007 17:42:25 -0300 (ADT) X-Greylist: delayed 00:32:09.41946 by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id E12E39FBDE5 for ; Tue, 5 Jun 2007 17:42:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from mail.planwerk6.de (taube.planwerk6.de [88.198.1.9]) by svr4.postgresql.org (Postfix) with ESMTP id E09515AF024 for ; Tue, 5 Jun 2007 20:10:04 +0000 (GMT) Received: from localhost (taube.planwerk6.de [127.0.0.1]) by mail.planwerk6.de (Postfix) with ESMTP id 2D6CF85C2E6 for ; Tue, 5 Jun 2007 22:09:52 +0200 (CEST) Received: from mail.planwerk6.de ([127.0.0.1]) by localhost (mail.planwerk6.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25076-03 for ; Tue, 5 Jun 2007 22:09:51 +0200 (CEST) Received: from jvhome.local (p50858831.dip0.t-ipconnect.de [80.133.136.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.planwerk6.de (Postfix) with ESMTP id EBC8585C292 for ; Tue, 5 Jun 2007 22:09:50 +0200 (CEST) From: Janning Vygen To: pgsql-jdbc@postgresql.org Subject: Re: bug with prepared statements and sql comments in 8.1-408.jdbc3 Date: Tue, 5 Jun 2007 22:09:49 +0200 User-Agent: KMail/1.9.6 References: <200706051302.57899.mljv@planwerk6.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706052209.49762.vygen@planwerk6.de> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at planwerk6.de X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=BAYES_50=0.001, FORGED_RCVD_HELO=0.135 X-Spam-Level: X-Archive-Number: 200706/19 X-Sequence-Number: 17081 On Tuesday 05 June 2007 20:07:40 Kris Jurka wrote: > On Tue, 5 Jun 2007, mljv@planwerk6.de wrote: > > i am using hibernate3, postgresql 8.1 and pg-jdbc 8.1-408.jdbc3 > > > > when is set hibernate.use_sql_comments to true, hibernate sends sql > > comments to the postgresql driver to ease debugging. > > > > But the driver does not recognise the comment in respect of parameters: > > This is a known problem with the 8.1 driver series and is fixed in the 8.2 > release. It's perfectly fine to use an 8.2 driver with an earlier > database version. thanks for your quick reply! i should have read http://jdbc.postgresql.org/download.html thoroughly and tried 8.2 driver before steeling your time. sorry! kind regards, janning