You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Tammo van Lessen (JIRA)" <ji...@apache.org> on 2010/04/13 14:29:27 UTC

[jira] Updated: (ODE-800) Incorrect Hibernate QL clause in instance cleanup query

     [ 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: 1.3.5

> 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
>
>
> 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