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?
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?