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년 전
