The mybatis column type is invalid, and mybatis is invalid.
Project error:
[FaultEvent fault = [RPC Fault faultString = "org. springframework. jdbc. uncategorizedSQLException: Error setting null parameter. most JDBC drivers require that the JdbcType must be specified for all nullable parameters. cause: java. SQL. SQLException: Invalid column type; uncategorized SQLException for SQL []; SQL state [null]; error code [17004]; invalid column type; nested exception is java. SQL. SQLException: Invalid column type "faultCode =" Server. processing "faultDetail =" null "] messageId =" 406BB9C8-A70D-B31C-65E7-573E4B6DDBB4 "type =" fault "bubbles = false cancelable = true eventPhase = 2]
The updateSQL statement of the XML file is:
Set the attributes of the object class:
Cause:
When inserting a null value in MyBatis, you must specify JdbcType
If the null value of mybatis insert is returned, a null value exception is returned, but no error is prompted in pl/SQL. The main reason is that mybatis cannot be converted.
The SQL statement in the XML file is changed: