Hello ๐
I am new to hibernate/jpa/spring-data-jpa and I am curious about the complex quereis or subqueries.
the document says spring-data-jpa has subquery-related functinons.
However, It doesn't seem convienient when query get complex. like 30 lines of single query.
native query is good. But separating the Query Logic and Java code would be nice to think.
-
So, what do you guys use?
Do people use QueryDSL or Mybatis for complex queryies and subqueries? -
What is your Preference?
-
Can I use Mybatis + Spring Data JPA combination? or should I use QueryDSL + Spring Data JPA? Or use Both queryDSL and Mybatis and Spring Data JPA?