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!

executeUpdate() java method & 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 invoke the executeUpdate(String query, int getGeneratedKeys) method of the Statement class.
I need this because I need to insert a record and have the database return the value for the auto_incremented key field.
I have been unable to find a MySQL driver that implements that version of the executeUpdate() method.
Has anyone run accross this issue? and is there a workaround?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top