In a Spring Data JPA environment, you may want to retrieve the domain type of the repositories defined in your application. This tutorial will show two ways to retrieve Spring JPA repository domain type....
Category: Spring
Spring Boot hello world tutorial
Spring Boot is one of the most powerful Java EE frameworks that aims to facilitate the development of new application. It brings all the power of the Spring stack (Spring dependency injection, Spring data...
Load multiple configuration files from different directories with Spring Boot
This tutorial will show how to load multiple configuration files from different directories with Spring Boot. By default, Spring Boot look for your externalized configuration file ( application.proroperties ) in four predetermined locations : in classpath...
Rename Spring Boot application.properties configuration file
By default, Spring Boot will look for your externalized properties in a file named application.properties located in one of the following folders : classpath root in the package /config in classpath in the current...
Spring Boot multiple databases configuration
By simple configuration, Spring boot provides a powerful way to work with a single database. Sometimes you need to work with multiple databases (for example, one for basic usage and another for archiving). In...