Re: PSQLException: Too many update results were returned. - Mailing list pgsql-jdbc

From Albert László-Róbert
Subject Re: PSQLException: Too many update results were returned.
Date
Msg-id 46B3CF30.4030505@gmail.com
Whole thread Raw
In response to Re: PSQLException: Too many update results were returned.  (Oliver Jowett <oliver@opencloud.com>)
List 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


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: PSQLException: Too many update results were returned.
Next
From: Oliver Jowett
Date:
Subject: Re: PSQLException: Too many update results were returned.