Обсуждение: executeBatch problem

Поиск
Список
Период
Сортировка

executeBatch problem

От
pginfo
Дата:
Hi all,
I am using executeBatch to speed up the row insertin in application.
All is working fine, but if one from my inserts drops, then I can not
locate the error reson.

I can get exception, but I can not gae any correct error number.
Also executeBatch returns int[], and all the values in array
(including the error position) are with value 1.

Is it pg jdbc bug ?
Otr it is possible to get th correct error code.


Regards,
Ivan.



Re: executeBatch problem

От
Barry Lind
Дата:
Can you explain your problem in a bit more detail?  I do not understand
what you mean by 'can not get any correct error number'?

thanks,
--Barry


pginfo wrote:
> Hi all,
> I am using executeBatch to speed up the row insertin in application.
> All is working fine, but if one from my inserts drops, then I can not
> locate the error reson.
>
> I can get exception, but I can not gae any correct error number.
> Also executeBatch returns int[], and all the values in array
> (including the error position) are with value 1.
>
> Is it pg jdbc bug ?
> Otr it is possible to get th correct error code.
>
>
> Regards,
> Ivan.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>