[ 
https://issues.apache.org/jira/browse/ODE-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tammo van Lessen updated ODE-800:
---------------------------------

    Fix Version/s: 2.0-beta3

> Incorrect Hibernate QL clause in instance cleanup query
> -------------------------------------------------------
>
>                 Key: ODE-800
>                 URL: https://issues.apache.org/jira/browse/ODE-800
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.4, 2.0
>            Reporter: Aaron Anderson
>            Priority: Minor
>             Fix For: 1.3.5, 2.0-beta3
>
>
> 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
> http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/cron/RuntimeDataCleanupRunnable.java#restoreFromDetailsMap
> However, in the hibernate QL the pi.process.id is queried by instead of the 
> pi.process.processId and a ClassCastException is thrown
> http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/CriteriaBuilder.java#buildHQLQuery
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to