Re: Past Single quote instead of double? But there's more

Поиск
Список
Период
Сортировка
От Michael Paesold
Тема Re: Past Single quote instead of double? But there's more
Дата
Msg-id 001501c2eb49$125908c0$3201a8c0@beeblebrox
обсуждение исходный текст
Ответ на Past Single quote instead of double? But there's more  (Oguz Imre <maccube@comcast.net>)
Ответы Re: Past Single quote instead of double? But there's more
Список pgsql-jdbc
Oguz Imre wrote:
> Now I get the following error message. I display a table, then
> edit one of the cells, so I update the row. Can anyone suggest
> What I am doing wrong.
> Thanks

> No results were returned by the query.
> at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(..)

> statement.executeQuery(query);

executeQuery is for SELECT queries or other queries that return a ResultSet.
Use the "int executeUpdate(String sql)" method of the Statement object for
UPDATE queries (that return no ResultSet).

Best Regards,
Michael


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

Предыдущее
От: Oguz Imre
Дата:
Сообщение: Past Single quote instead of double? But there's more
Следующее
От: Oguz Imre
Дата:
Сообщение: Re: Past Single quote instead of double? But there's more