Thx.

I'm using Spring 2.0.6 and the OpenSessionInView Filter (for Hibernate)
that comes with it - and have configured that in my web.xml. Doing some
thorough testing currently...


> Yes, although it depends on how you implement it. You need to ensure
> that the session is closed by HiveMind in a threaded model, or
> problems will arise while rendering. I do it thusly:
>
>       <service-point id="HSessionManagerFactory"
> interface="com.myasd.db.dao.ISessionManagerFactory">
>               <create-instance
> class="com.myasd.db.dao.HibernateSessionManagerFactory"/>
>       </service-point>
>
>       <service-point id="SessionManager"
> interface="com.myasd.db.dao.ISessionManager">
>               <invoke-factory model="threaded">
>                       <construct 
> class="com.myasd.db.dao.HibernateSessionManager"/>
>               </invoke-factory>
>       </service-point>
>
> All my DAO's are then done via invoke-factory:
>
>       <service-point id="AccountDAO"
> interface="com.myasd.db.dao.proto.AccountDAO">
>               <invoke-factory>
>                       <construct class="com.myasd.db.dao.impl.AccountDAO"/>
>               </invoke-factory>
>       </service-point>
>
> I've been doing this in production for 6 months or longer and it's
> been working very, very well. Adding database operations to a
> Tapestry page is trivial after the setup.
>
> Norman Franke
> www.myasd.com
>
>
> On Aug 29, 2007, at 8:40 PM, Jan Vissers wrote:
>
>> When it comes to lazy loading?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to