文章分类 -  Mybatis

摘要:insert和update操作中会常常用到自动生成主键。 1.selectKey和useGeneratedKeys属性 useGeneratedKeys (insert and update only) This tells MyBatis to use the JDBC getGeneratedK 阅读全文
posted @ 2018-02-12 17:29 猪脚踏浪 阅读(3553) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示