I have some code which is essentially doing the following:
ResultSet rs = stmt.executeQuery("insert into users values ( 'joe', 'blow'
The values are inserted into the table correctly. I verified this using
"select * from users".
The problem is that the executeQuery throws an Exception. The message
is "No results were returned by the query":
No results were returned by the query.
My driver is "org.postgresql.Driver" from the jar file jdbc7.0-1.2.jar. I
the port version is 7.1 The platform is FreeBSD 4.2-RELEASE.
I am using linux jdk 1.2.2.
Can anyone give me any ideas?
pgsql-jdbc by date
|Next:||From: Bruce Momjian||Date: 2001-05-08 19:32:19|
|Subject: Re: Why?? executeQuery() & exception: "No results were returned
by the query."|
|Previous:||From: Bruce Momjian||Date: 2001-05-08 17:29:52|
|Subject: Re: [JDBC] Re: Trouble with JDBC2 ResultSet.getDate()|