Hi PMN, thanks for your suggestions, but I dont think that this would be the best way to
handle it for several reasons:
* Writing Java Code in a JSP is not recommended
* Opening a new session and reattaching the objects in the JSP violates the MVC-pattern.
* Performance will suffer a lot because you need additional selects for the reattachment
Is there no way to span the transaction around the whole request?
TXStart-->processAction-->...-->doView-->...-->(rendering JSP)-->TXEnd
Is there no equivalent of an HibernateSessionRequestFilter
(
http://www.hibernate.org/43.html) for ServletApps in JBoss Portal?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138999#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...