On Sep 1, 2005, at 11:21 PM, Christian Bauer wrote:

There is no problem without EJBs, it's in fact very trivial three- line code. What I described is a problem _with_ EJBs, container- managed transactions, and a Long Session pattern.

And to make this very clear: The problem is a problem of convenience, using the getCurrentSession() functionality instead of maintaining a Session yourself in a (not very appropriate) ThreadLocal or (proprietary) TransactionLocal for the duration of the JTA transaction.



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to