This was a useful one to find, awhile back. These days it’s probably easier to just export the data and import it on the other side.
This was a useful one to find, awhile back. These days it’s probably easier to just export the data and import it on the other side.
Retrieving IDs of inserted records using mySQL with mm.mysql JDBC driver is a pretty common requirement, assuming you’re not generating your own IDs. JDBC 3.0 provides a standard means of retrieving the inserted ID, but for prior code, here’s how to do it.