ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Getting Up To Date with JDBC API
Subject:   ResultSet rs = stmt.getGeneratedKeys();
Date:   2002-03-13 13:47:40
From:   beaunat
I'm using JRUN to run a servlet, and I've tried to following code:


stmt.executeUpdate(strSQL,Statement.RETURN_GENERATED_KEYS);


ResultSet rs = stmt.getGeneratedKeys();


I get the following error:
java.lang.UnsupportedOperationException


HELP!
Thanks


1 to 1 of 1
  1. ResultSet rs = stmt.getGeneratedKeys();
    2003-03-25 13:43:57  anonymous2 [View]

1 to 1 of 1