mybatis
我刚上山
这个作者很懒,什么都没留下…
展开
-
Maven 打包提示出错Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
报错: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project contest: There are test failures. Please refer to D:\test\project\contest\target\surefire-reports for the individual test results. Please refer原创 2021-09-23 14:08:53 · 77 阅读 · 0 评论 -
mybatis执行多条带;(分号)的sql语句报错
报错信息如下: ### The error occurred while setting parameters ### SQL: CREATE DATABASE IF NOT EXISTS test; USE test; ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server原创 2021-07-12 17:47:17 · 639 阅读 · 0 评论 -
mybatis查询返回多个List对象,List<String>和一个实体类对象的List
实体类: @Data public class EvaluateRequest { private String id; private List<String> clazzIdList = new ArrayList<>(); private List<CourseTypeView> courseList = new ArrayLis...原创 2020-04-17 16:07:15 · 3069 阅读 · 2 评论 -
org.apache.ibatis.type.TypeException: Error setting non null for parameter #3 with JdbcType null .
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='id', mode=IN, javaType=class java....原创 2020-04-14 10:46:55 · 5942 阅读 · 0 评论