Re: [JDBC] No results exception on insert
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 ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
[JDBC] Updateable ResultSet
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 broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly