<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">
&nbsp;in orm.xml file. &nbsp;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">&nbsp;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 &amp; Regards<br>
Pardeep Ruhil<br>
</font>
<br>
<br>
<br><tt><font size=2>&gt;yes... the problem is that you don't need that
query.<br>
&gt;I don't know why I include it.. Do you need it for some reason?<br>
&gt;I will test it asap and get back to you..<br>
<br>
&gt;On Thu, Oct 8, 2009 at 11:46 AM, Jesper S. Knudsen &lt;jsk@orwtech.dk&gt;
wrote:<br>
<br>
&gt; Hi Pardeep<br>
&gt;<br>
&gt; I think you are using the wrong syntax in your QL<br>
&gt; Should it not be:<br>
&gt;<br>
&gt; select object(v) from VariableInstanceInfo as v where<br>
&gt; v.processInstanceInfo.id = :processId<br>
&gt;<br>
&gt; like in ejbql?<br>
&gt;<br>
&gt; Best regards<br>
&gt;<br>
&gt; Jesper<br>
&gt;<br>
&gt;<br>
&gt; Pardeep.Ruhil@lntinfotech.com skrev:<br>
&gt; &gt;<br>
&gt; &gt; Hi Mauricio,<br>
&gt; &gt; Thanks for your reply.<br>
&gt; &gt; When I try to run the demo project with configuration &nbsp;to
work with<br>
&gt; Mysql, I got this exception when I uncommented the &nbsp;the named-query
in<br>
&gt; orm.xml<br>
&gt; &gt; &lt;/query&gt;<br>
&gt; &gt; select<br>
&gt; &gt; &nbsp; &nbsp; v<br>
&gt; &gt; from<br>
&gt; &gt; &nbsp; &nbsp; VariableInstanceInfo v<br>
&gt; &gt; where<br>
&gt; &gt; &nbsp; &nbsp; v.processInstanceInfo.id = :processId<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/query&gt;<br>
&gt; &gt;<br>
&gt; &gt; SEVERE: Error in named query: VariableInstancesInfoByProcessId<br>
&gt; &gt; org.hibernate.QueryException: could not resolve property:<br>
&gt; processInstanceInfo of:<br>
&gt; org.drools.persistence.processinstance.variabletypes.VariableInstanceInfo<br>
&gt; [select v from</font></tt>
<br>
<br>
<br>

<BR>
______________________________________________________________________<BR>