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