pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan de Visser <jdevisser@digitalfairway.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Should this code work??
Date: Mon, 31 Oct 2005 10:22:32 -0500
Message-ID: <200510311022.32307.jdevisser@digitalfairway.com> (raw)
In-Reply-To: <1130770452.3681.96.camel@Panoramix>
References: <1130770452.3681.96.camel@Panoramix>

On Monday 31 October 2005 09:54, Joost Kraaijeveld wrote:
>                                 updateStatement.addBatch();                
>                      }
>
>                         updateStatement.execute();                      


You need to call updateStatement.executeBatch()

HTH,

JdV!!

-- 
--------------------------------------------------------------
Jan de Visser                     jdevisser@digitalfairway.com

                Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------


view thread (4+ messages)

Message-ID: <200510311022.32307.jdevisser@digitalfairway.com>
Permalink:  ../200510311022.32307.jdevisser@digitalfairway.com/
Also on:    postgresql.org/message-id/200510311022.32307.jdevisser@digitalfairway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: jdevisser@digitalfairway.com
  Subject: Re: Should this code work??
  In-Reply-To: <200510311022.32307.jdevisser@digitalfairway.com>
  References: <1130770452.3681.96.camel@Panoramix> <200510311022.32307.jdevisser@digitalfairway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox