javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException

1
0
-1

BMP Camp - Exercise 2
Run - >enter values -> received error message
javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException

2 answers

1
0
-1
This one is the BEST answer!

Hi,
It seems you did not map the formOutput data correctly. When a ConstraintViolationException is raised the violations are shown as [attribute1] is required or something.
Check this and correct your form.
Bye

1
0
-1

Thank you, appreciate your help. I am very new to this tool.

Notifications