![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
Sandul
只做记录,不做解释
展开
-
Invalid bound statement (not found)
3、如果mapper的xml文件不是严格按照项目目录结构创建,是否配置了mybatis的xml映射路径。原因dao层映射未配置正确。原创 2022-07-18 14:26:51 · 186 阅读 · 0 评论 -
mybatis启动报错
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:Error updating database. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘__frch_val_3’. It w原创 2022-01-29 13:37:25 · 2718 阅读 · 0 评论 -
Mybatis中的resultMap
resultMap中的映射一对一映射<!--association : 表示一对一配置 property : 表示封装到实体对象中哪个属性 javaType : 封装到属性的类型 --> <association property="user" javaType="com.sandul.domain.User"> <result column="uid" property="uid"/> <result column="name" property原创 2021-04-27 10:43:22 · 77 阅读 · 0 评论