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

From: Oguz Imre <maccube(at)comcast(dot)net>
To: Michael Paesold <mpaesold(at)gmx(dot)at>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Past Single quote instead of double? But there's more
Date: 2003-03-16 00:49:41
Message-ID: 2BFE30C1-5749-11D7-94F9-003065A215CC@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Royal 2003-03-17 02:39:48 Re: DatabaseMetaData.getImportedKeys returning duplicate rows
Previous Message Michael Paesold 2003-03-15 23:17:38 Re: Past Single quote instead of double? But there's more