<br><font size=2 face="Trebuchet MS">Hi Mauricio,</font>
<br><font size=2 face="Trebuchet MS">Ya actually previously when it was
uncommented, the flow was not going ahead of the first human task in Workflow
file '<b>VariablePersistenceStrategyProcess.rf</b>' because in the test
case file '<b>VariablePersistenceStrategiesTest.java' </b>query was written
is of </font><font size=2 color=#4200ff face="Courier New"><i>VariableInstancesInfoByProcessI</i></font><font size=2 face="Trebuchet MS">
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.</font>
<br>
<br><font size=2 face="Trebuchet MS">Jasper, </font>
<br><font size=2 face="Trebuchet MS"> 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. </font>
<br>
<br><font size=2 face="Trebuchet MS">Thanks & Regards<br>
Pardeep Ruhil<br>
</font>
<br>
<br>
<br><tt><font size=2>>yes... the problem is that you don't need that
query.<br>
>I don't know why I include it.. Do you need it for some reason?<br>
>I will test it asap and get back to you..<br>
<br>
>On Thu, Oct 8, 2009 at 11:46 AM, Jesper S. Knudsen <jsk@orwtech.dk>
wrote:<br>
<br>
> Hi Pardeep<br>
><br>
> I think you are using the wrong syntax in your QL<br>
> Should it not be:<br>
><br>
> select object(v) from VariableInstanceInfo as v where<br>
> v.processInstanceInfo.id = :processId<br>
><br>
> like in ejbql?<br>
><br>
> Best regards<br>
><br>
> Jesper<br>
><br>
><br>
> Pardeep.Ruhil@lntinfotech.com skrev:<br>
> ><br>
> > Hi Mauricio,<br>
> > Thanks for your reply.<br>
> > When I try to run the demo project with configuration to
work with<br>
> Mysql, I got this exception when I uncommented the the named-query
in<br>
> orm.xml<br>
> > </query><br>
> > select<br>
> > v<br>
> > from<br>
> > VariableInstanceInfo v<br>
> > where<br>
> > v.processInstanceInfo.id = :processId<br>
> > </query><br>
> ><br>
> > SEVERE: Error in named query: VariableInstancesInfoByProcessId<br>
> > org.hibernate.QueryException: could not resolve property:<br>
> processInstanceInfo of:<br>
> org.drools.persistence.processinstance.variabletypes.VariableInstanceInfo<br>
> [select v from</font></tt>
<br>
<br>
<br>
<BR>
______________________________________________________________________<BR>