OpenSessionInViewFilter has nothing to do with detached entities, it only
keeps session open till view is rendered otherwise lazy loading will no
work. The filter is trying to solve it by always opening session in every
request and closing it at the end. Tapestry hibernate opens session only
when it is needed and closes it when thread is finished, it is how it should
be, but if you use spring hibernate + tx you need to use it there is no way
around it.
> 
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Tapestry-Transactions-tp5713299p5713314.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 

So just to clarify the tapestry-hibernate now does the same thing as OSIVF
only better, right? Sorry for all the repetition but it is confusing a bit
:)

cheers

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Transactions-tp5713299p5713326.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to