Error USERNAME=helen.kelly | javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement

1
0
-1

hola estoy intentando realizar el ejemplo de practica propuesto en la pagina en el cual uno persona reserva el viaje y otro revisa, el tutorial sugiere loquearse con helen y evniar variables pero cuando hago clic en inicio aparece el siguiente error. Alguien podria ayudarme gracias

USERNAME=helen.kelly | javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement

3 answers

1
0
-1

I had same problem when i start with tutorial..
First check log file "C:\BonitaBPMCommunity-7.5.4\workspace\tomcat\server\logs"
it will have log as "Caused by: org.h2.jdbc.JdbcSQLException: NULL not allowed for column "DEPARTUREDATE"; SQL statement:
insert into TRAVELREQUEST (persistenceId, NAME, persistenceVersion, REASON) values (null, ?, ?, ?) [23502-175]"

I removed all in data model and re-setup the design. then it worked on first run. :)

1
0
-1

It's not working after that also kindly suggest me some other solution please

1
0
-1

Hola, el error javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement es un error de base de datos debido a los indices de las tablas.

Una manera de solucionar este problema de forma rápida es utilizando otro actor en el proceso. Por ejemplo, podrías utilizar como actor Jan Fisher en lugar de Helen Kelly, su Manager es Favio Riviera. Ingresas al portal de forma análoga, solo cambias los usernames y listo! :)

Notifications