Open Meenakshi-mini opened 3 years ago
For those methods that are not defined by CRUD Repository are defined in our created interface & Spring Data Jpa takes care of creating a query by looking into method name provided. If in the case of spring data jpa is not able to create a query then @Query annotation can be used. (THIS ANSWER IS NOT FOR CREATING A TABLE BUT SOME PEOPLE MAY HAVE CONFUSION ABOUT IT).
Spring data JPA will take care of that.