-
Bug
-
Resolution: Done
-
Major
-
jBPM 6.5.0.CR2, 7.0.0.Beta1
-
None
-
NEW
-
NEW
The current JPA config does not work 100% with Hibernate 5. This is one the errors seen:
Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [EmailNotificationImpl_id] in table [Notification_email_header] at org.hibernate.tool.schema.internal.SchemaValidatorImpl.validateTable(SchemaValidatorImpl.java:85) at org.hibernate.tool.schema.internal.SchemaValidatorImpl.doValidation(SchemaValidatorImpl.java:50) at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:91) at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:473) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:879) ... 9 more
We should fix the config so that the entities are compatible with both JPA 2.0 and JPA 2.1 (assuming that is even possible).