Month: February 2019

DataIntegrityViolationException & ConstraintViolationException- Managing JPA bidirectional relationships properly

Troubleshooting DataIntegrityViolationException,¬† PropertyValueException &¬†ConstraintViolationException – Managing JPA bidirectional relationships properly   In this troubleshooting guide, we will explore one of the most common causes of a DataIntegrityViolationException, a¬†ConstrainViolationException and a PropertyValueException. We will set up our database tables and our entity models in order to reproduce the exception, and then we will discuss how the …