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 78B6453991 for ; Sun, 1 May 2005 16:01:17 -0300 (ADT) 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 18464-06 for ; Sun, 1 May 2005 19:01:07 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1AA8953600 for ; Sun, 1 May 2005 16:01:06 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id A600730952; Sun, 1 May 2005 20:59:23 +0200 (MET DST) From: "Nico" X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: executeQuery returns postgresql.stat.result Date: Sun, 1 May 2005 21:00:37 +0200 Organization: Hub.Org Networking Services Lines: 29 Message-ID: References: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=3.359 tagged_above=0 required=5 tests=FORGED_YAHOO_RCVD, PRIORITY_NO_NAME X-Spam-Level: *** X-Archive-Number: 200505/5 X-Sequence-Number: 12836 I noticed it. Because the exception was captured, it didn't show a stacktrace. I solved it and it works fine now. Thanks. Nico. "Kris Jurka" schreef in bericht news:Pine.BSO.4.56.0505011302210.22827@leary.csoft.net... > > > On Sun, 1 May 2005, Nico wrote: > >> The batch statement is ONLY used in case of an update, insert or delete >> command. When a select command is used, there is no batch used, as you >> can see in my code. > > No, I can't see that. You have a case mismatch between your sql and your > test. A simple examination of the stacktrace from this error would > clearly show the wrong code being called. > > Kris Jurka > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) >