Try " hivetranse.hibernate3.DeferSessionClose" instead.

Jean-Francois

-----Original Message-----
From: Aleksej [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 7:14 PM
To: [email protected]
Subject: Hivetranse transaction demarcation and lazy object loading for
hibernate3

I am trying to use Hivetranse with Hibernate3, but got exception:
org.hibernate.LazyInitializationException: could not initialize proxy - 
the owning Session was closed.
 From Hivetanse docs I found that I need to activate "Open Session in 
View" patterns support by
contributing to "hivetranse.hibernate.DeferSessionClose". I made it but 
I still got the same exception.
Contribution is looks like:
<contribution configuration-id="hivemind.ApplicationDefaults">
    <default symbol="hivetranse.hibernate.DeferSessionClose" value="true" />
</contribution>









Reply via email to