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年前
関連するコンテンツ
- 質問済み 8年前
