org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
Error updating database. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘__frch_val_3’. It was either not specified and/or could not be found for the javaType (com.example.autocreatetable.entity.SaveObject) : jdbcType (null) combination.错误解决:
这个错误是参数传递时,动态sql取值的时候没有正确取值,或者对象映射错误
也就是本来应该取值为dogName的,但是取值的时候用#{name},就会取不到相应的值,报错
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)