Mybatis
_傻兮兮的
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mybatis中,当插入数据后,返回最新主键id(注解方式)
博客园 民院小青年 @Options(useGeneratedKeys = true, keyProperty = “id”)原创 2020-03-28 18:23:57 · 2602 阅读 · 0 评论 -
Parameter 'arg0' not found. Available parameters are [xxx, xxx, param1, param2]
mybatis报‘arg0’这个错误时有两种情况 第一种:mybatis中传入多个参数时,没有使用@param注解 @Select({"select ", insert_fields, " from ", table_name, " where from_id=#{userId} limit #{limit}"}) List<Message> getList(@Par...原创 2020-03-27 19:14:14 · 1230 阅读 · 0 评论
分享