Spring Data JPA: Query result directly into DTO
One of the hidden gems of Spring Data JPA is the possibility to put your query results directly into a DTO instead of having it transformed by a mapper
Read →Tag
Posts filed under JPA, collected from the existing article archive.
Archive
3 posts are filed in this archive. Newer articles appear first.
One of the hidden gems of Spring Data JPA is the possibility to put your query results directly into a DTO instead of having it transformed by a mapper
Read →How to create a JPA base entity without mapping it onto a separate table
Read →Use Restrictions.sqlRestriction(“1=1 order by rand()”) as a simple workaround for random ordering in Criteria.
Read →