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

Alexis Midon closed ODE-435.
----------------------------

    Resolution: Fixed

committed into trunk r719786

> invalid query in BpelDAOConnectionImpl#getMessageExchange 
> ----------------------------------------------------------
>
>                 Key: ODE-435
>                 URL: https://issues.apache.org/jira/browse/ODE-435
>             Project: ODE
>          Issue Type: Bug
>          Components: Axis2 Integration
>    Affects Versions: 1.3
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3
>
>
> in ODE trunk, BpelDAOConnectionImpl#getMessageExchange  executes an invalid 
> query.
> The query is doubly wrong:
> . 1 To query a MessageExchange, HProcess is selected
> .2 the column 'mexId' does not exist 
> The patch must be taken from ODE 1.X.
> org.hibernate.QueryException: could not resolve property: mexId of: 
> org.apache.ode.daohib.bpel.hobj.HProcess
>       at 
> org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:44)
>       at 
> org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:38)
>       at 
> org.hibernate.persister.entity.AbstractEntityPersister.getSubclassPropertyTableNumber(AbstractEntityPersister.java:1375)
>       at 
> org.hibernate.persister.entity.BasicEntityPropertyMapping.toColumns(BasicEntityPropertyMapping.java:31)
>       at 
> org.hibernate.persister.entity.AbstractEntityPersister.toColumns(AbstractEntityPersister.java:1350)
>       at 
> org.hibernate.loader.criteria.CriteriaQueryTranslator.getColumns(CriteriaQueryTranslator.java:434)
>       at 
> org.hibernate.loader.criteria.CriteriaQueryTranslator.getColumnsUsingProjection(CriteriaQueryTranslator.java:394)
>       at 
> org.hibernate.criterion.SimpleExpression.toSqlString(SimpleExpression.java:45)
>       at 
> org.hibernate.loader.criteria.CriteriaQueryTranslator.getWhereCondition(CriteriaQueryTranslator.java:334)
>       at 
> org.hibernate.loader.criteria.CriteriaJoinWalker.<init>(CriteriaJoinWalker.java:82)
>       at 
> org.hibernate.loader.criteria.CriteriaLoader.<init>(CriteriaLoader.java:67)
>       at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1550)
>       at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
>       at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:305)
>       at 
> org.apache.ode.daohib.bpel.BpelDAOConnectionImpl.getMessageExchange(BpelDAOConnectionImpl.java:79)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to