Warming: Servlet.service() for servlet [spring] in context with path [/*****] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='ENTERPRISE_NAME', mode=IN, javaType=class java.lang.Object, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting null for parameter #13 with JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: Invalid column type: 1111] with root cause
java.sql.SQLException: Invalid column type: 1111
at oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:3978)
Screen:
When inserting the name,ENTERPRISE_NAME passes null and mybatis returns an error.
The solution is:
Read More:
- java.sql.SQLException : IO exception: socket read timed out
- Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNot
- java.sql.SQLException: Incorrect string value:
- java.sql.SQLException: The Network Adapter could not establish the connection
- Error: globalconfigutils setmetadata fail! Cause:java.sql.SQLException…
- SQL state [null]; error code [0]; Error; nested exception is java.sql.SQLException: Error] with root
- java.sql.SQLException : IO error: socket read timed out!
- Mybatis database error java.sql.SQLException : Error setting driver on UnpooledDataSource. Caus
- SQL error: 17006, sqlstate: 99999 invalid column name
- Error code 1045, state 28000, Java sql.SQLException :Access denied for user ‘root’@’localhost’
- Cause: java.sql.BatchUpdateException: Unknown column ‘xxx‘ in ‘field list‘
- Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0
- Error attempting to get column time from result set. Cause: java.sql.SQLFe
- In the SQL query statement, add the column that does not exist in the table and set the fixed value of the column
- Error querying database.Cause:java.sql.SQLSyntaxErrorException:ORA-00911:invalid character
- How to Fix SQL Error: 1054, SQLState: 42S22 Unknown column ‘markcardex0_.art_service_time’ in ‘field list’
- No converter found capable of converting from type [java.lang.String] to type [java.util.Map<java.la
- Invalid column reference when using round in hive
- Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the
- Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.Date‘;