org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2

 

这个异常是说明数据库中的数据本应该是唯一的 但是是重复了  是数据的问题不是代码问题 

相关文章: