Re: Problem with executeBatch and "A result was returned when none was expected"
| От | Vitalii Tymchyshyn |
|---|---|
| Тема | Re: Problem with executeBatch and "A result was returned when none was expected" |
| Дата | |
| Msg-id | 4D80993C.6030203@gmail.com обсуждение исходный текст |
| Ответ на | Re: Problem with executeBatch and "A result was returned when none was expected" (Dave Cramer <pg@fastcrypt.com>) |
| Ответы |
Re: Problem with executeBatch and "A result was returned when
none was expected"
|
| Список | pgsql-jdbc |
16.03.11 12:57, Dave Cramer написав(ла): > On Wed, Mar 16, 2011 at 6:43 AM, Vitalii Tymchyshyn<tivv00@gmail.com> wrote: >> 16.03.11 12:40, Dave Cramer написав(ла): >> >> AFAIR it was a long discussion on what is "generated". E.g. is calculated >> default value (CURRENT TIMESTAMP) generated? Constant default value? So, the >> driver now either returns all or you can pass columns you require by >> yourself with "boolean execute(String sql, String[] columnNames)". >> > So ideally we need some backend support here. The backend can > certainly figure out what was the result of a default column. The question AFAIK is not technical, there's simply no strict definition of "generated". And no public consensus on it. Best regards, Vitalii Tymchyshyn
В списке pgsql-jdbc по дате отправления: