Yep - works normally but when I introduce the automatic transaction facility
and make a method transactional it closes the session at the end of the
transactional method.

Symon.

Symon Rottem
http://blog.symbiotic-development.com


On Sun, Feb 1, 2009 at 11:34 PM, Germán Schuager <[email protected]>wrote:

> Are you doing this
> http://castleproject.org/container/facilities/trunk/nhibernate/webapp.html?
>
>
> On Sun, Feb 1, 2009 at 4:33 PM, Symon Rottem <[email protected]> wrote:
>
>> I'm using the AutomaticTransactionManagement TrasactionManagement with the
>> NHibernateFacility in Monorail and have marked an action on the controller
>> as Transactional but now I'm finding that the NHibernate session appears to
>> be closed when the method exits and as a result I've lost lazy loading when
>> the view is being rendered.
>>
>> Is this normal behavior?
>>
>> Symon.
>>
>> Symon Rottem
>> http://blog.symbiotic-development.com
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to