Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9C2BC9FB75E for ; Thu, 12 Jul 2007 05:47:24 -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 35040-06 for ; Thu, 12 Jul 2007 05:47:18 -0300 (ADT) X-Greylist: delayed 00:05:32.777291 by SQLgrey-1.7.5 Received: from aa002msb.fastweb.it (aa002msb.fastweb.it [85.18.95.81]) by postgresql.org (Postfix) with ESMTP id F2F4D9FB51A for ; Thu, 12 Jul 2007 05:47:20 -0300 (ADT) Received: from fluca (85.18.239.131) by aa002msb.fastweb.it (7.3.118.6) id 4665781301B9D5F9 for pgsql-jdbc@postgresql.org; Thu, 12 Jul 2007 10:41:43 +0200 From: Luca Ferrari To: pgsql-jdbc@postgresql.org Subject: Re: postgres jdbc into eclipse plugin (OID problems) Date: Thu, 12 Jul 2007 10:41:39 +0200 User-Agent: KMail/1.9.7 References: <3b2806290707110207h1dc1a8a5ld4693c852d830715@mail.gmail.com> In-Reply-To: <3b2806290707110207h1dc1a8a5ld4693c852d830715@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707121041.40011.fluca1978@infinito.it> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/46 X-Sequence-Number: 17220 On Wednesday 11 July 2007 Diego Zanga's cat, walking on the keyboard, wrote: > However i could not understand WHY, it does it outside > eclipse and not inside it: this means the jdbc driver > have some problems inside eclipse, and doez not > throw execeptions about this problem, so the server > has some problem managing the prepared statement, > but i dont know what is it, and how to debug it I never developed an eclipse plug-ing, thus I don't know exactly how to help you (someone with more experience can give you help); I've got only a few suggestions. First of all, I guess the problem is in eclipse and not in the driver. I think if there's an exception is eclipse that is hiding it to you. Moreover, you can set the debugging options in the postgresql.conf (client_min_messages and debug_print*) and have a look at the logs to see what the server is receiving, as well as you can enable debugging in the driver; try appending ?loglevel=2 at the connection URL. Hope this helps, Luca