Re: "No results" exception on insert

Поиск
Список
Период
Сортировка
От Mike D'Agosta
Тема Re: "No results" exception on insert
Дата
Msg-id 5.1.0.14.0.20010508130028.00b0eea0@dev.tolosatech.com
обсуждение исходный текст
Ответ на "No results" exception on insert  (Brian_Williams@i2.com)
Список pgsql-jdbc
>Statement stmt;
>ResultSet rs = stmt.executeQuery("insert into users values ( 'joe', 'blow'
>)");
>
>The problem is that the executeQuery throws an Exception.  The message
>is "No results were returned by the query":

Try executeUpdate() for insert, create and delete.

Mike


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Outstanding patches
Следующее
От: Jeremy Buchmann
Дата:
Сообщение: Re: "No results" exception on insert