-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Hi, we are trying to upgrade 2.0.204 from 1.4.200 because of vulnerability. We are using latest quarkus version. But we are getting an error related with running our entity manager tests. While persisting data we are getting below error. Could you any suggest for that?
Error :
- javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement
- Caused by: org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException:
NULL not allowed for column "ID"; SQL statement:
And also we are using id like :
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
There was no problem with 1.4.200 version. All test cases work. But now all entity manager tests failed.
shavo007 and robatipoor
Metadata
Metadata
Assignees
Labels
No labels