Probably there is something missing.. I need to check that.. can you post
the stack trace here?
2009/10/8 <Pardeep.Ruhil(a)lntinfotech.com>
Hi Mauricio,
Ya actually previously when it was uncommented, the flow was not going
ahead of the first human task in Workflow file '*
VariablePersistenceStrategyProcess.rf*' because in the test case file
'*VariablePersistenceStrategiesTest.java'
*query was written is of *VariableInstancesInfoByProcessI* in orm.xml
file. So when I uncommented the same I got that exception. So please tell
me so that I am able to execute the full flow of the demo project.
Jasper,
Thanks for replying. I tried your suggestion, but it was not working. Can
you try that demo project and let me know you are also facing the same
problem or not.
Thanks & Regards
Pardeep Ruhil
>yes... the problem is that you don't need that query.
>I don't know why I include it.. Do you need it for some reason?
>I will test it asap and get back to you..
>On Thu, Oct 8, 2009 at 11:46 AM, Jesper S. Knudsen <jsk(a)orwtech.dk>
wrote:
> Hi Pardeep
>
> I think you are using the wrong syntax in your QL
> Should it not be:
>
> select object(v) from VariableInstanceInfo as v where
> v.processInstanceInfo.id = :processId
>
> like in ejbql?
>
> Best regards
>
> Jesper
>
>
> Pardeep.Ruhil(a)lntinfotech.com skrev:
> >
> > Hi Mauricio,
> > Thanks for your reply.
> > When I try to run the demo project with configuration to work with
> Mysql, I got this exception when I uncommented the the named-query in
> orm.xml
> > </query>
> > select
> > v
> > from
> > VariableInstanceInfo v
> > where
> > v.processInstanceInfo.id = :processId
> > </query>
> >
> > SEVERE: Error in named query: VariableInstancesInfoByProcessId
> > org.hibernate.QueryException: could not resolve property:
> processInstanceInfo of:
> org.drools.persistence.processinstance.variabletypes.VariableInstanceInfo
> [select v from
______________________________________________________________________
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users