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 →Blog
Practical reminders, fixes, and implementation notes collected while building Java, Spring, cloud, and developer-tooling systems.
Latest Posts
Newest articles first, keeping the existing Jekyll pagination and post archive behavior.
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 →How to change the decimal separator without changing the representation in the Postgres database
Read →How to stop Spring MVC from exposing @ModelAttribute parameters in redirect query strings by adjusting settings.
Read →How to connect to Liferay’s embedded Hypersonic DB (jdbc:hsqldb:file:…;readonly=true) to inspect data.
Read →