From: Oliver Jowett <oliver@opencloud.com>
To: albertlaszlorobert@gmail.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PSQLException: Too many update results were returned.
Date: Sat, 04 Aug 2007 13:24:00 +1200
Message-ID: <46B3D530.3060409@opencloud.com> (raw)
In-Reply-To: <46B3D474.90407@gmail.com>
References: <373352.78463.qm@web32701.mail.mud.yahoo.com>
<46B3CBA0.3040203@opencloud.com>
<46B3CDEB.2060608@gmail.com>
<46B3CF4F.4020705@opencloud.com>
<46B3D25A.7000103@gmail.com>
<46B3D39D.20001@opencloud.com>
<46B3D474.90407@gmail.com>
Albert László-Róbert wrote:
> Oliver Jowett wrote:
>> Albert László-Róbert wrote:
>>
>>> i wish i can do that. the files that contains those statements are up to
>>> 500k ... and the majority of the code contain function implementations.
>> Err ok if you're just reading from a file and giving it to the driver
>> without any (or little) parsing, why exactly are you using batch
>> updates in the first place? Can't you just use plain execute()?
>>
>> -O
>>
> i tryed, but there i got syntax error.
If you're getting a syntax error on execute() then using executeBatch()
is not going to help you since executeBatch() is really just an
optimized special case of execute() .. I think you should be
investigating this syntax error first of all.
-O
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: oliver@opencloud.com, albertlaszlorobert@gmail.com
Subject: Re: PSQLException: Too many update results were returned.
In-Reply-To: <46B3D530.3060409@opencloud.com>
References: <373352.78463.qm@web32701.mail.mud.yahoo.com> <46B3CBA0.3040203@opencloud.com> <46B3CDEB.2060608@gmail.com> <46B3CF4F.4020705@opencloud.com> <46B3D25A.7000103@gmail.com> <46B3D39D.20001@opencloud.com> <46B3D474.90407@gmail.com> <46B3D530.3060409@opencloud.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