Re: [JDBC] No results exception on insert

2001-05-08 Thread Mike D'Agosta
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. Mike

[JDBC] Updateable ResultSet

2001-05-03 Thread Mike D'Agosta
Hello, I am brand new to this list. I looked through the mailing list archive, but couldn't determine if ResultSets are Updateable yet. I'm using some old drivers for pgsql-jdbc. Are there drivers out now that have Updateable ResultSets? Thanks! Mike ---(end of