Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception
Дата
Msg-id
alpine.BSO.2.00.1301111220300.28737@leary.csoft.net
Ответ на
Список
Дерево обсуждения
Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception Stefan Reiser <s.reiser@tu-braunschweig.de>
Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception Kris Jurka <books@ejurka.com>
Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception Stefan Reiser <s.reiser@tu-braunschweig.de>
Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception Péter Kovács <peter.dunay.kovacs@gmail.com>
Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception Péter Kovács <peter.dunay.kovacs@gmail.com>
Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception Péter Kovács <peter.dunay.kovacs@gmail.com>
Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception Vitalii Tymchyshyn <tivv00@gmail.com>


On Fri, 11 Jan 2013, Stefan Reiser wrote:

> What about returning Statement.SUCCESS_NO_INFO as it says in
> http://docs.oracle.com/javase/6/docs/api/java/sql/BatchUpdateException.html#getUpdateCounts%28%29
> and
> http://docs.oracle.com/javase/6/docs/api/java/sql/Statement.html#executeBatch%28%29
> 
> It seems better to report no number at all rather than a number (INT_MAX) that
> is known to be wrong.

What about Statement.executeUpdate?  It has provision for returing a 
batch execution response code.

Kris Jurka

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