Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id A6269633533 for ; Tue, 14 Apr 2009 12:08:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 53590-06 for ; Tue, 14 Apr 2009 12:08:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kickstone.com (smtp.kickstone.com [87.194.183.70]) by mail.postgresql.org (Postfix) with ESMTP id 107EB633503 for ; Tue, 14 Apr 2009 12:08:49 -0300 (ADT) Received: from [192.168.2.200] (port=49755) by mail.kickstone.com with esmtpa (Exim 4.69) (envelope-from ) id 1LtkFi-0006td-6d for pgsql-jdbc@postgresql.org; Tue, 14 Apr 2009 16:08:46 +0100 Message-ID: <49E4A6FA.7050407@kickstone.com> Date: Tue, 14 Apr 2009 16:08:42 +0100 From: John Lister User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Query preparation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/49 X-Sequence-Number: 19496 Hi, i was wondering if there is any reason why the query preparation is done when the query is executed instead of when the preparedStatement is created. Has any one looked into moving it? Thanks