2 個答案
- 最新
- 最多得票
- 最多評論
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.
已回答 5 年前
0
CAREFUL! The generatedFields will always only contain the FIRST inserted id even though you might have inserted 500 rows.
已回答 4 年前
相關內容
- 已提問 4 個月前
