I am going to start a new project that will play with a very large database, so there will be many database operations.
I decided to use Spring JPA as my ORM. Spring JPA now provides various methods for use in the DAO layer. I am confused between criteria creator and Query DSL. Both seem to solve my problem well, and I think it makes no sense to use both of them in the same project, because they provide the same functionality.
So which one to use and why?
source
share