Record the error report generated when using mybatis plus once. The value inserted into the database has a null value, indicating that the invalid data type 1111:
mybatis plus Error setting null for parameter #1 with JdbcType OTHER
The following configuration can be added to the settings in the property file:
mybatis-plus.configuration.jdbc-type-for-null=null
Read More:
- How to Solve SQL comments error in the mybatis query
- Mapper.xml Error: Error setting non null for parameter #3 with JdbcType null.
- Mybatis sets the primary key Auto-Increment error: No setter found for the keyProperty
- Using mybatis statement.getGenreatedKeys(); usegeneratedkeys = “true”; using self incrementing primary key to get primary key value policy and Oracle do not support self incrementing, Oracle uses sequence
- [Solved] Java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘__frch_it
- [Solved] org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession…
- [Solved] Cannot find class: com.mysql.jdbc.Driver
- Mybatis single parameter pass in exception (How to Fix)
- mybatis “case when” Error: Failed to process, please exclude the tableName or statementId.
- [Solved] Error getting generated key or setting result to parameter object. UnsupportedOperationException
- Error querying database.Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource.
- [Solved] BindingException: Type interface XXX is not known to the MapperRegistry
- [Solved] Sharding-Proxy Insert Datas Error: Sharding value must implements Comparable NoSuchElementException
- How to Solve idea com.baomidou Error
- [Solved] Mybatis.generator error: Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2
- [Solved] Mybatis-Plus Error: Invalid bound statement (not found)
- Mybatis Error: All elements are null [How to Solve]
- o.s.boot.SpringApplication, Error creating bean with name ‘paymentImpl‘, xml Configuration file error
- How to Solve Mybatis error: invalid bound statement (not found)