Skip site navigation (1) Skip section navigation (2)

Re: "No results" exception on insert

From: "Mike D'Agosta" <mdagosta(at)tolosatech(dot)com>
To: Brian_Williams(at)i2(dot)com, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: "No results" exception on insert
Date: 2001-05-08 20:02:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.


In response to

pgsql-jdbc by date

Next:From: Jeremy BuchmannDate: 2001-05-08 20:28:26
Subject: Re: "No results" exception on insert
Previous:From: Bruce MomjianDate: 2001-05-08 19:57:24
Subject: Outstanding patches

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group