Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
7.9.0.Final, 7.10.0.Final, 7.11.0.Final, 7.12.0.Final, 7.13.0.Final
-
None
Description
We ran into problems when upgrading the jBPM version in our Spring Boot application from version 7.8.0 to the latest release. The application doesn't start due to the following error:
Caused by: org.hibernate.AnnotationException: Unable to create index (addedBy_id) on table task_comment: database column 'addedBy_id' not found.
You'll find the full stacktrace attached below.
This issue was caused by the inclusion of index annotations and the way that certain columns are referenced (see https://github.com/kiegroup/jbpm/pull/1277).
Here is the related Stack Overflow exchange https://stackoverflow.com/questions/53193257/how-to-apply-the-same-naming-strategy-to-index-columnlist-as-for-column