The Jarb project: https://github.com/42BV/jarb
- Adds a
BeanConstraintController
to theApplicationContext
. - Adds a
HibernatePropertiesCustomizer
to theApplicationContext
to set thejavax.persistence.validation.factory
hibernate property to the configuredLocalValidatorFactoryBean
.
Add this maven dependency to your project.
<dependency>
<groupId>nl.42</groupId>
<artifactId>jarb-spring-boot-starter</artifactId>
<version>1.1.0</version>
</dependency>