Don't do lazy loading in the view

On Fri, Sep 11, 2009 at 9:19 PM, Tomas <[email protected]> wrote:

>
> I am using the Automatic Transaction Facility and it seems that any
> code in the brail file is executed outside of the transaction e.g.
> lazy loading of objects. I am using the nhibernate profiler to see
> this behaviour.
>
> It is my understanding that the second level cache will not be used
> outside of a transaction.
>
> How can I execute the code in the brail file inside a transaction?
>
> Thanks in advance.
>
> /Tomas
> >
>

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