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">&lt;<a href="mailto:Pardeep.Ruhil@lntinfotech.com">Pardeep.Ruhil@lntinfotech.com</a>&gt;</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 &#39;<b>VariablePersistenceStrategyProcess.rf</b>&#39; because in the test
case file &#39;<b>VariablePersistenceStrategiesTest.java&#39; </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 &amp; Regards<br>
Pardeep Ruhil<br>
</font><div><div></div><div class="h5">
<br>
<br>
<br><tt><font size="2">&gt;yes... the problem is that you don&#39;t need that
query.<br>
&gt;I don&#39;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;<a href="mailto:jsk@orwtech.dk" target="_blank">jsk@orwtech.dk</a>&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; <a href="http://v.processInstanceInfo.id" target="_blank">v.processInstanceInfo.id</a> = :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; <a href="mailto:Pardeep.Ruhil@lntinfotech.com" target="_blank">Pardeep.Ruhil@lntinfotech.com</a> 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  to
work with<br>
&gt; Mysql, I got this exception when I uncommented the  the named-query
in<br>
&gt; orm.xml<br>
&gt; &gt; &lt;/query&gt;<br>
&gt; &gt; select<br>
&gt; &gt;     v<br>
&gt; &gt; from<br>
&gt; &gt;     VariableInstanceInfo v<br>
&gt; &gt; where<br>
&gt; &gt;     <a href="http://v.processInstanceInfo.id" target="_blank">v.processInstanceInfo.id</a> = :processId<br>
&gt; &gt;           &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></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 &quot;Salaboy&quot; Mauricio -<br>