[rules-users] ShadowProxy & PersistentSet
vdelbart
delbart.v at mipih.fr
Tue Apr 22 11:58:25 EDT 2008
Hi,
I have a big problem with shadowproxy.
All my objects are hibernate so they use PersistentSet in their properties.
But when the shadowproxyfactory clone the PeristentSet properties, I have
this error :
org.hibernate.LazyInitializationException: failed to lazily initialize a
collection, no session or session was closed
I temporaly use shadowproxy=false and it's working but I'm not sure it is a
good idea. (I try
drools.shadowProxy.Exclude=org.hibernate.collection.PersistentCollection it
doesn't work because I don't use directly the class in the working memory)
maybe somebody have a tip ?
thanks,
V.
--
View this message in context: http://www.nabble.com/ShadowProxy---PersistentSet-tp16824934p16824934.html
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list