Re: Should this code work??

From: Jan de Visser <jdevisser(at)digitalfairway(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Should this code work??
Date: 2005-10-31 15:22:32
Message-ID: 200510311022.32307.jdevisser@digitalfairway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)digitalfairway(dot)com

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nicolai Tufar 2005-10-31 15:57:09 Updated Turkish translation for HEAD
Previous Message Rob Kirkbride 2005-10-31 15:13:00 Re: Should this code work??