-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
7.55.0.Final
-
None
-
False
-
False
-
undefined
-
i have a maven spring boot application with JBPM runtime created manually (not using kie-server dependency). with overridden entity mapping using custom mapping.xml (only changing table name and sequence generator). I'm trying to upgrade this application from version 6.5 to 7.55.0
Using oracle10, I ran the db upgrade scripts from - https://github.com/kiegroup/jbpm/blob/7.52.x/jbpm-db-scripts/src/main/resources/db/upgrade-scripts/oracle/jbpm-6.5-to-7.0.sql
Upgraded all the JBPM related dependency in pom.xml to 7.55.0.Final
Cleaned up the project and ran with command spring-boot:run
The application startup fails with following errors:
getErrorsByProcessInstanceIdNodeName failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.processInstanceId =:processInstanceId and error.activityName =:nodeName and error.acknowledged in (:ack) order by error.errorDate DESC]getErrorsByProcessInstanceIdNodeName failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.processInstanceId =:processInstanceId and error.activityName =:nodeName and error.acknowledged in (:ack) order by error.errorDate DESC]getErrorsByProcessId failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.deploymentId =:deploymentId and error.processId =:processId and error.acknowledged in (:ack) order by error.errorDate DESC]getTaskErrors failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.type= 'Task' and error.acknowledged in (:ack) order by error.errorDate DESC]getErrorsByTaskNameProcessId failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.type= 'Task' and error.processId =:processId and error.activityName =:taskName and error.acknowledged in (:ack) order by error.errorDate DESC]getErrorsByTaskId failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.type= 'Task' and error.activityId =:taskId and error.acknowledged in (:ack) order by error.errorDate DESC]getErrorByIdSkipAckCheck failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.error, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.errorId =:errorId order by error.errorDate DESC]getErrorsByTaskName failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.type= 'Task' and error.activityName =:taskName and error.acknowledged in (:ack) order by error.errorDate DESC]getErrorsByTaskNameProcessIdDeploymentId failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.type= 'Task' and error.deploymentId =:deploymentId and error.processId =:processId and error.activityName =:taskName and error.acknowledged in (:ack) order by error.errorDate DESC]getErrorsByProcessInstanceId failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.processInstanceId =:processInstanceId and error.acknowledged in (:ack) order by error.errorDate DESC]getErrorById failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.error, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.errorId =:errorId and error.acknowledged in (:ack) order by error.errorDate DESC]getErrors failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.acknowledged in (:ack) order by error.errorDate DESC]getErrorsByDeploymentId failed because of: org.hibernate.QueryException: could not resolve property: errorId of: org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo [select new org.kie.internal.runtime.error.ExecutionError( error.errorId, error.type, error.deploymentId, error.processInstanceId, error.processId, error.activityId, error.activityName, error.jobId, error.errorMessage, error.acknowledged, error.acknowledgedBy, error.acknowledgedAt, error.errorDate ) from org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo error where error.acknowledged in (:ack) and error.deploymentId = :deploymentId order by error.errorDate DESC] at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:343) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final] at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:468) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1259) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final] at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58) ~[spring-orm-5.3.8.jar:5.3.8] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) ~[spring-orm-5.3.8.jar:5.3.8] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) ~[spring-orm-5.3.8.jar:5.3.8] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) ~[spring-orm-5.3.8.jar:5.3.8] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.3.8.jar:5.3.8] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1845) ~[spring-beans-5.3.8.jar:5.3.8] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782) ~[spring-beans-5.3.8.jar:5.3.8] ... 15 more
NOTE: above error repeats for all the named-queries related to ExecutionErrorInfo declared in Servicesorm.xml