How to use Criteria Queries in Spring Boot Data Jpa Application

前端 未结 6 501
死守一世寂寞
死守一世寂寞 2020-12-04 23:10

I have an application that uses Spring Boot Data jpa . So far i am using a repository like this

public interface StudentRepository extends CrudRepos         


        
6条回答
  •  有刺的猬
    2020-12-04 23:48

    you can refer to Query creation into spring data JPA documentation and take a look at the table, JPA give multiple Query creation from method names where you can avoid using a String query

提交回复
热议问题