Hi good morning, I have doubts in the use of consultations on the database:
- Differences between Datamanager and consultations JPQL ?, which is better used in services ?, in controllers?
- Both Datamanager and JPQL can add “views” to the consultations, which have effect on the information to return?, for example. if a query JPQL already indicated the type of fetch for returning related entities, I need apply the view?, or the view only applies when the fetch is not used in queries ?.
It would be nice to have some document or example in which the differences are seen.
Greetings and thanks.