How to disable Hibernate validation in a Spring Boot project

As [M. Deinum] mentioned in a comment on my original post, the solution is to set:

spring.jpa.properties.javax.persistence.validation.mode=none

In the application.properties file.

Additionally, this behaviour is described here (its easy to miss because no example is provided).

Leave a Comment

tech