Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java executeUpdate() method with MySQL

Status
Not open for further replies.

gdiffor

Programmer
Oct 3, 2002
11
US
I am using Java's JDBC API to talk to MySQL. I need to use the version of the executeUpdate() method of the Statement class which allows the driver to return auto generated key values. MySQL doesn't seem to support this feature.
I'm wondering if anyone has experienced the same and if there is some sort of workaround.
I've looked at a few different drivers and non seem to have the implementation I'm looking for.
 
Have been working with JDBC and MySQL but I dont know what you meen by "Statement class which allows the driver to return auto generated key values"?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top