How to create a request for a complex query in JpaRepository
with the use of @Query
?
I am concerned about the relationships between entities. They may affect the preparation of the request.
Needed query SQL, my version @Query:
How to create a request for a complex query in JpaRepository
with the use of @Query
?
I am concerned about the relationships between entities. They may affect the preparation of the request.
Needed query SQL, my version @Query:
Ok so more advisable way of declaring your query would be :
You only use the old join style when you have to join by non-primarykey values.