2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
For anyone who comes across this: the generated AUTO_INCREMENT ID is returned in the generatedFields section of the ExecuteStatement response (i.e. generatedFields[0].longValue). That works fine for my needs.
répondu il y a 5 ans
0
CAREFUL! The generatedFields will always only contain the FIRST inserted id even though you might have inserted 500 rows.
répondu il y a 4 ans
Contenus pertinents
- demandé il y a 9 mois
- demandé il y a 9 mois
- demandé il y a 2 mois
