I am trying to solve a problem of disconnected clients while using activejdbc. So the client app queues the inserts and subsequent updates and deletes when there is no internet. Then the batch of these come thru when they have connectivity.
To support this the client uses temporary primary keys which are replaced with the result of the the auto_increment key produced when the connectivity is restored and the batch applied. To do this I need to get the key generated when I do a save() or create(). Can activejdbc use https://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#getGeneratedKeys%28%29 ?