lundi 2 novembre 2015

SQLite Get last added entry autoincremented id

I add new entries in one of my tables via dBHelper.addEntry(e); After doing that I need the autoincremented ID from this new entry "e" for using it as foreign Key for other entries in a other table. How do I get this new autoincremented ID?

Aucun commentaire:

Enregistrer un commentaire