- 博客(4)
- 收藏
- 关注
原创 Cause: java.lang.IllegalArgumentException: argument type mismatch,MyBatis—puls插入时,出现的错误
问题所在Could not set property 'id' of 'class com.lapuda.dao.User' with value '1432183729647779841'不能够设置id的值IllegalArgumentException: argument type mismatch非法参数错误:参数类型不匹配创建实体类的时候,主键id的类型是Integerpublic class User { private Integer id;
2021-08-30 11:46:32 1409
原创 org.apache.ibatis.reflection.ReflectionException: There is no getter
<mapper namespace="com.lapuda.mapper.UserMapper"> <insert id="register" parameterType="User"> INSERT INTO user (name,phone,head_img,create_time,pwd) values (#{user.name},#{user.phone},#{user.headImg},#{user.createTime},${user..
2021-08-21 21:44:23 242
原创 队列模拟数组
队列模拟数组代码实现://数组模拟队列public class CQ { private int maxSize; private int rear; private int front; private int arr[]; public CQ(int maxSize) { this.maxSize = maxSize; this.front=0; this.rear=0; this.
2021-07-13 17:53:41 90
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人