The springboot + mybatis project reports an error when running mybatis

Alibaba cloud Q & A 2022-02-13 06:45:53 阅读数:835

springboot mybatis project reports error

springboot+mybatis Error report of project operation : Caused by:JDBC requires that the JdbcType must be specified for all nullable parameters.image.png




Take the answer 1:

Hello! , The reason may be in the query criteria , Required , When executing the query, you did not fill in . In addition, sometimes you need to specify the parameter type :jdbcType=VARCHAR. If you encounter similar errors in , You can exclude from these two aspects .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130645507498.html