Re: Past Single quote instead of double? But there's more - Mailing list pgsql-jdbc

From Oguz Imre
Subject Re: Past Single quote instead of double? But there's more
Date
Msg-id 2BFE30C1-5749-11D7-94F9-003065A215CC@comcast.net
Whole thread Raw
In response to Re: Past Single quote instead of double? But there's more  ("Michael Paesold" <mpaesold@gmx.at>)
List pgsql-jdbc
Thanks for your reply, Michael.

It works just fine, now.

Regards,

Oguz

On Saturday, March 15, 2003, at 06:17  PM, Michael Paesold wrote:

> 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
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>


pgsql-jdbc by date:

Previous
From: "Michael Paesold"
Date:
Subject: Re: Past Single quote instead of double? But there's more
Next
From: Peter Royal
Date:
Subject: Re: DatabaseMetaData.getImportedKeys returning duplicate rows