Spring Jpa "No property xxx found for type xxx" 方法名被认为是属性

结论先行:java 在继承JpaRepository的接口中,其方法名不能与实现类有所差别,即便是包装类型的也不行。code 重现过程:继承 一、定义接口接口 public interface LatentUserRepository extends JpaRepository<LatentUser, Integer> { List<LatentStatusStat> statSpecia
相关文章
相关标签/搜索