Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7947

Starting with jBPM 7.9.0 startup of Spring Boot Application fails during schema generation

    XMLWordPrintable

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
    • Persistence, SpringBoot
    • None
    • NEW
    • NEW
    • Hide

      Run a Spring Boot application with spring-boot-starter-data-jpa using default configuration and a dependency on jbpm-human-task-jpa version 7.9.0+ to trigger schema creation.

      An example was uploaded on https://github.com/gbtec-paulkrybus/spring-boot-jbpm

      Show
      Run a Spring Boot application with spring-boot-starter-data-jpa using default configuration and a dependency on jbpm-human-task-jpa version 7.9.0+ to trigger schema creation. An example was uploaded on https://github.com/gbtec-paulkrybus/spring-boot-jbpm

    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

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            pkryb Paul Krybus (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: