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

From: "Michael Paesold" <mpaesold(at)gmx(dot)at>
To: "Oguz Imre" <maccube(at)comcast(dot)net>, <pgsql-jdbc(at)postgresql(dot)org>
Cc: <maccube(at)comcast(dot)net>
Subject: Re: Past Single quote instead of double? But there's more
Date: 2003-03-15 23:17:38
Message-ID: 001501c2eb49$125908c0$3201a8c0@beeblebrox
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oguz Imre 2003-03-16 00:49:41 Re: Past Single quote instead of double? But there's more
Previous Message Oguz Imre 2003-03-15 22:26:07 Past Single quote instead of double? But there's more