加载中...
加载中...
Mybatis MySQL保存之后返回自增长的id

Mybatis MySQL保存之后返回自增长的id 原创

Mybatis MySQL保存之后返回自增长的id

复制收展XML<insert id="insDetailTempConf" parameterClass="java.util.HashMap">
INSERT INTO DetailTempConf(confName, rowNumStart, rowNumEnd)
VALUES(#confName#, #rowNumStart#, #rowNumEnd#)
<selectKey resultClass="java.lang.Integer" keyProperty="id">
SELECT LAST_INSERT_ID()
</selectKey>
</insert>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7


没有更多推荐了 [去首页]
image
文章
357
原创
284
转载
73
翻译
0
访问量
199056
喜欢
47
粉丝
6
码龄
5年
资源
0

文章目录

加载中...
0
0