Re: PSQLException: Too many update results were returned.

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: PSQLException: Too many update results were returned.
Дата
Msg-id 46B3D530.3060409@opencloud.com
обсуждение исходный текст
Ответ на Re: PSQLException: Too many update results were returned.  (Albert László-Róbert<albertlaszlorobert@gmail.com>)
Ответы Re: PSQLException: Too many update results were returned.  (Albert László-Róbert<albertlaszlorobert@gmail.com>)
Список pgsql-jdbc
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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Albert László-Róbert
Дата:
Сообщение: Re: PSQLException: Too many update results were returned.
Следующее
От: Albert László-Róbert
Дата:
Сообщение: Re: PSQLException: Too many update results were returned.