How to obtain application property values in a Spring Boot application

In this guide, we will discuss two ways to obtain application property configuration values inside a Spring boot application. We will focus on properties that are loaded via an or an application.yml file. But all loaded properties in your application context should also be obtainable via the discussed methods. We will discuss the @Value […]

How to manage JPA bidirectional relationships properly

In this troubleshooting guide, we will explore how to properly map bidirectional relationships and common mapping pitfalls that cause exceptions such as DataIntegrityViolationException, a ConstrainViolationException and a PropertyValueException. We will take an unusual approach in this guide by first building the faulty software, and then we will discuss how and why this should be fixed. […]

Scroll to top