会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
Link-Soul
博客园
首页
新随笔
联系
管理
订阅
2023年12月29日
两个 mybatis insert方法返回自增主键值的方法
摘要: 1、使用useGeneratedKeys <insert id="saveReturnId" useGeneratedKeys="true" keyProperty="id" 2、使用selectkey, <insert id="saveReturnId" parameterType=" "> <s
阅读全文
posted @ 2023-12-29 09:17 Link_Soul
阅读(11)
评论(0)
推荐(0)
编辑
公告