Re: JDBC executeUpdate() does not return the number of rows effected

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: JDBC executeUpdate() does not return the number of rows effected
Дата
Msg-id 3BDA2977.9010400@xythos.com
обсуждение исходный текст
Ответ на JDBC executeUpdate() does not return the number of rows effected  ("Robert Dyas" <rdyas@adelphia.net>)
Ответы Re: JDBC executeUpdate() does not return the number of rows effected
Список pgsql-jdbc
Robert,

What version of the driver and database are you using?  I have code that
gets the update count back from executeUpdate().  So I suspect this may
be fixed in a more recent version.

thanks,
--Barry

Robert Dyas wrote:

> Hi all,
>
> I have been using the JDBC driver for a couple of months now. The only
> limitation I have run into for my own uses is that calling executeUpdate()
> does not return the number of rows effected by update or delete statement --
> it always returns 0.
>
> Is this a limitation of Postgresql (i.e. the backend does not provide this
> info) or a limitation of the JDBC driver?
>
> If it is not a limitation of the backend, does anyone have an idea if this
> bug would be as easy to fix as it appears on the surface?
>
> Rob
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>



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

Предыдущее
От: "Robert Dyas"
Дата:
Сообщение: JDBC executeUpdate() does not return the number of rows effected
Следующее
От: Craig Lawton
Дата:
Сообщение: Error: ClassNotFoundException