Transaction != Persistence Context
As long as there is a persistence context, you can lazy load stuff.
Just use the UserTransaction API or EJB3 transaction annotations to set transaction
boundaries.
The RENDER RESPONSE phase, and any data access not in the INVOKE APPLICATION PHASE (where
your custom transaction assembly would most likely apply) is then executing effectively in
auto-commit mode.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043084#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...