Probably there is something missing.. I need to check that.. can you post the stack trace here?<br><br><div class="gmail_quote">2009/10/8 <span dir="ltr"><<a href="mailto:Pardeep.Ruhil@lntinfotech.com">Pardeep.Ruhil@lntinfotech.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><font face="Trebuchet MS" size="2">Hi Mauricio,</font>
<br><font face="Trebuchet MS" size="2">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 color="#4200ff" face="Courier New" size="2"><i>VariableInstancesInfoByProcessI</i></font><font face="Trebuchet MS" size="2">
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 face="Trebuchet MS" size="2">Jasper, </font>
<br><font face="Trebuchet MS" size="2"> 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 face="Trebuchet MS" size="2">Thanks & Regards<br>
Pardeep Ruhil<br>
</font><div><div></div><div class="h5">
<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 <<a href="mailto:jsk@orwtech.dk" target="_blank">jsk@orwtech.dk</a>>
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>
> <a href="http://v.processInstanceInfo.id" target="_blank">v.processInstanceInfo.id</a> = :processId<br>
><br>
> like in ejbql?<br>
><br>
> Best regards<br>
><br>
> Jesper<br>
><br>
><br>
> <a href="mailto:Pardeep.Ruhil@lntinfotech.com" target="_blank">Pardeep.Ruhil@lntinfotech.com</a> 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>
> > <a href="http://v.processInstanceInfo.id" target="_blank">v.processInstanceInfo.id</a> = :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></div></div>
______________________________________________________________________<br>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino "Salaboy" Mauricio -<br>