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 Spring Framework, collected from the existing article archive.
Archive
6 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 →Default Spring Naming Strategy class and the property key to configure it in Spring Boot.
Read →How to load files from the classpath in Spring Boot using ResourceLoader (File vs InputStream).
Read →Why controllers are not discovered and how to configure component scanning (scanBasePackages) in Spring Boot.
Read →Examples of configuring Spring to load properties files singly or as a list with overriding behavior.
Read →Spring configuration for JavaMailSenderImpl and a mail utility wrapper for sending plain text emails.
Read →