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....
Tagged: spring-data-jpa
3 ways to call a stored procedure with Hibernate (JPA 2.1)
A new feature is provided in JPA 2.1 allowing a direct usage of stored procedures without using native query. This tutorial will show 3 different ways to call a database stored procedure with Hibernate. Used in...
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...