<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
yay, glad to see the documentation was useful for someone :)<br>
<br>
Mark<br>
Heyns, Juan wrote:
<blockquote
 cite="mid:B106622CC070904481CFE5E3E6551C967A025A@zamarsex04.emea.lonmin.net"
 type="cite">
  <pre wrap="">Thanks for this. We will probably exclude the PersistentCollection

        RuleBaseConfiguration conf = new RuleBaseConfiguration();

conf.setShadowProxyExcludes("org.hibernate.collection.PersistentCollecti
on");

        RuleBase ruleBase = RuleBaseFactory.newRuleBase(conf);

to fix our problem, luckily we treat these collections as immutable
already.

Juan

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] On Behalf Of Peter Mikula
Sent: 01 October 2007 10:37 AM
To: Rules Users List
Cc: <a class="moz-txt-link-abbreviated" href="mailto:juan.heyns@epiuse.com">juan.heyns@epiuse.com</a>
Subject: Re: [rules-users] Hibernate

Heyns, Juan wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks for the reply... I will give this a go. Has ShadowProxyUtils
    </pre>
  </blockquote>
  <pre wrap=""><!---->been
  </pre>
  <blockquote type="cite">
    <pre wrap="">introduced in 4.0.1, I didn't get this behavior in 4.0...
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  I was getting the exception for both versions, it happened always when
  I have iterated over the collection in the "then" part.

  </pre>
  <blockquote type="cite">
    <pre wrap="">It is quite imperative that I get this working, since our project
depends on Hibernate and Drools. Should we create a JIRA for this?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  Beware that you should treat the persistent collections as immutable
  if you want to use the submitted patch.

PS: checking the manual again I have discovered that there were
  already done some improvements. You can control shadow proxying with

     drools.shadowProxy = false

     drools.shadowproxy.exclude = org.domainy.* org.domainx.ClassZ

  so there is not much use for that patch.

--
  pm
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>

"Employees of Lonmin Platinum ("Lonplats") are not authorised to conclude
electronic transactions or to enter into electronic agreements on behalf
of Lonplats. Any electronic signature (other than an advanced electronic
signature as defined in the Electronic Communications and Transactions
Act of 2003) added to a data message (such as an email or an attachment
to an (email) ostensibly on behalf of Lonplats by a Lonplats employee shall
not be legally binding on Lonplats and Lonplats shall incur no liability of
any nature whatsoever, directly or indirectly, arising from such act on the
part of it's employee. It is further recorded that nothing (other than an
advanced electronic signature) inserted into any data message
emanating from Lonplats shall be construed as constituting an electronic
signature"

_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>

  </pre>
</blockquote>
<br>
</body>
</html>