ibatis selectKey statement


INSERT INTO xx ……

<
selectKey keyProperty="id" resultClass="long"> SELECT LAST_INSERT_ID(); </selectKey>

 

posted @ 2021-01-21 19:29  Joynic  阅读(105)  评论(0编辑  收藏  举报