Cosmin, can you post the article URL again? I think it got garbled while posting:

http://www.jroller.com/comments/kbau...ation_with_dao


--

Ing. Leonardo Quijano Vincenzi
DTQ Software

Cosmin Bucur wrote:
I've also posted this on the spring forum , as I think it is sort of a
mixed problem . I figured that maybe other tapestry/spring/hibernate
users here might have some insight :

I am using latest spring , hibernate 3 and tap 4 . I have the default
true setting for lazy loading in hibernate . I would like to take
advantage of this , from within the tapestry 4 layers .

I am getting the : no session or session closed error .

I've searched the forum , and came across a few good posts aslo a good
article :
However if i'm understanding the article right , it's talking about
having an interceptor aplied to a spring business object that
initialises the session when needed ?

 ... that does me no good when trying to access a lazy collection from
a tapestry Page or Component .

Is there a common fix for this scenario also , or am I just
understanding this wrong ? ... can I maybe set the tap Page as a
spring bean and put the intercecptor on it ?

Anticipated thanks
Cosmin

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