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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Explained
    • Affects Version/s: 7.9.0.Final, 7.10.0.Final, 7.11.0.Final, 7.12.0.Final, 7.13.0.Final
    • Fix Version/s: None
    • Component/s: Persistence, SpringBoot
    • Labels:
      None
    • Environment:

      Error was reproduced with Spring Boot versions 2.0.5 and 1.5.10 and jBPM version 7.9.0+

    • Steps to Reproduce:
      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
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                swiderski.maciej Maciej Swiderski
                Reporter:
                pkryb Paul Krybus
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: