Re: PSQLException: Too many update results were returned.

From: Albert László-Róbert <albertlaszlorobert(at)gmail(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PSQLException: Too many update results were returned.
Date: 2007-08-04 00:58:24
Message-ID: 46B3CF30.4030505@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Oliver Jowett wrote:
> Albert Laszlo-Robert wrote:
>
>> org.postgresql.util.PSQLException: Too many update results were
>> returned.
>
> At a guess maybe you are adding statements to the batch that are
> actually semicolon-separated statements? I don't know if the batch
> code understands that.
>
> -O
>
yes, the statements are semicolon-separated. than you have some idea how
to make it to work?

note: if i use a simple executeUpdate for multiple inserts that are
semicolon-separated, than they work.

albertlr

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2007-08-04 00:58:55 Re: PSQLException: Too many update results were returned.
Previous Message Oliver Jowett 2007-08-04 00:43:12 Re: PSQLException: Too many update results were returned.