Blog

Jun 22, 2019, 10:13 AM
Problem: we want queries to our entities to eagerly fetch only the fields that we need in the given context (for example to show in a specific UI data table).
Requirement: our solution must be able to accept dynamic filter compositions.
Possible solutions: Named Entity Graphs from the JPA standard or Projections mechanism from Spring Data.
Lets research them!