Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.3.4, 2.0
-
None
Description
When the ODE Runtime is configured to use hibernate and executes a CronJob to cleanup stale instances it sets the InstanceFilter pid QName value as part of the query
However, in the hibernate QL the pi.process.id is queried by instead of the pi.process.processId and a ClassCastException is thrown
After changing
filters.append(" pi.process.id ").append(cmp).append(" :pid").append(m);
to
filters.append(" pi.process.processId ").append(cmp).append(" :pid").append(m);
The axis-war ProcessCronCleanupTest passed for me