On Sep 1, 2005, at 10:58 PM, Justen Stepka wrote:

1. Long Session and getCurrentSession() doesn't work. Can probably be
solved by extending/providing a custom factory that doesn't open/
close on synchronization, but disconnect and reconnect. Users choice
since we can't enforce a close() and we should always do that.


I would have to agree. Once of the biggest problems outside of the initial
scope of having to write Hibernate mappings, and getting it all up and
running is how to handle TX when you're not using EJBs.

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.



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