Hmm .. for what I remember the variables if are configured to be persisted using JPA using the Strategies, probably are externalized. Are you sure that are not being persisted with <font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">variable persistence strategy rigth now?</span></font><br>
<br><div class="gmail_quote">2009/11/18 Vijay K Pandey <span dir="ltr">&lt;<a href="mailto:VPandey@mdes.ms.gov">VPandey@mdes.ms.gov</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;">










<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">If “a” is correct – may be I can customize
the “JPAWorkItemManager” for my usage? Am I on the right path or I am missing
something.</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Vijay</span></font></p>

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>] <b><span style="font-weight: bold;">On
Behalf Of </span></b>Vijay K Pandey<br>
<b><span style="font-weight: bold;">Sent:</span></b> Wednesday, November 18, 2009
4:15 PM<br>
<b><span style="font-weight: bold;">To:</span></b> Rules Users List<br>
<b><span style="font-weight: bold;">Subject:</span></b> [rules-users] Drools Flow
5.1.0.M1 - Persistence - WorkItemInfo Entity</span></font></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I have a question related to the (<b><span style="font-weight: bold;">Drools Flow 5.1.0.M1 - Persistence</span></b>) on the
data that gets stored as part of the <b><span style="font-weight: bold;">org.drools.persistence.processinstance.WorkItemInfo.</span></b></span></font></p>

<p class="MsoNormal"><b><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold;"> </span></font></b></p>

<p class="MsoNormal" style="margin-left: 0.5in;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><span>a)<font face="Times New Roman" size="1"><span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">       </span></font></span></span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">If I am using variable persistence strategy – and I pass a JPA
Entity(stored in its own table) to a <b><span style="font-weight: bold;">session.startProcess</span></b>(“”,
map) and map this entity variable to a parameter in the work item node – then
this entity will get stored in the WorkItemInfo table as a part of the
serialized form in the column (workItemByteArray). So if that is true we have
got the same data stored twice? Is this correct?</span></font></p>

<p class="MsoNormal" style="margin-left: 0.5in;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><span>b)<font face="Times New Roman" size="1"><span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">       </span></font></span></span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">If “a” is true how can we avoid storing in the WorkItemInfo – is
there somehow we can map the JPA entity to the WorkItemInfo – so that it
doesn’t gets stored twice?</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Vijay</span></font></p>

</div></div></div>

</div>


<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>