Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)

Поиск
Список
Период
Сортировка
От Maciek Sakrejda
Тема Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)
Дата
Msg-id CAOtHd0AzuXqNS=Q9n1s-960_qzjyYFDGSx7NRWo90xV4L_jbGA@mail.gmail.com
обсуждение исходный текст
Ответ на Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)  (Haifeng Liu <liuhaifeng@live.com>)
Список pgsql-jdbc
On Thu, Dec 13, 2012 at 7:29 PM, Haifeng Liu <liuhaifeng@live.com> wrote:
> Well, there is less stuff about postgresql jdbc driver. I wanna know if
> executeBatch really keep all the records in a batch untouched when the batch
> failed. Any help is appreciate.

No, executeBatch() is orthogonal to transactions:

http://docs.oracle.com/javase/6/docs/api/java/sql/Statement.html#executeBatch()


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

Предыдущее
От: Chen Huajun
Дата:
Сообщение: Re: performance problem of Failover Datasource?
Следующее
От: dmp
Дата:
Сообщение: Re: Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)