![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
t518vs20s
这个作者很懒,什么都没留下…
展开
-
association和collection级联查询注意的地方
1)association级联查询 association级联查询中,A,B,C三处必须一样 2)collection级联查询 collection级联查询中,1和2一致,3和4一致原创 2020-03-30 18:27:54 · 215 阅读 · 0 评论 -
使用mybatis generator 自动生成代码
1、在配置Maven pom.xml 文件中,增加以下插件 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin...原创 2018-04-26 15:08:03 · 202 阅读 · 0 评论 -
Try setting a different JdbcType for this parameter or a different configuration property. Cause:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='year', mode=IN, javaType=class jav...原创 2019-03-08 14:53:38 · 5099 阅读 · 0 评论