I would like to retrieve the auto-generated id from a row insertion, but I get a NullPointerException
NullPointerException
Here is the code :
long result = 0
setGeneratedKeysColumnNames(new String[]{"column_name"});
Don't forget to set the names for the auto-generated columns.