Solved ConstraintViolationException in JPA merge