Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2
使用mybatis时 当数据库表中存在很多的null时,这时候会出现这种错误,
把表里面的数据重新设计就可以解决
Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested ex
最新推荐文章于 2024-04-08 02:24:12 发布