Women in Technology

Hear us Roar



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

Full Threads Oldest First

Showing messages 1 through 1 of 1.

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

    I get the same thing.
    My Drivers are the latest.