How DTO Projections can make your #Java #JPA app faster, better, stronger
Standard JPQL Queries fetch entities. This means all basic attributes and FetchType.EAGER associations will be fetched. So as entities grow over time the generated SQL queries also will grow. A simple @Query like this:
@Query("select e from Employe...
robertniestroj.hashnode.dev2 min read