- The SessionLookup class does an explicit session.connection().commit(). Is there a particular reason on not too use the Transaction API? I don't know if something like this would be used in a JTA context or such, but it would still be more flexible.
I don't remember why the explicit commit() line is in there. I'd rather not introduce the transaction API into the tags since anything involving transactions is probably getting into complexity that is beyond what the tags are meant for. If there's a clean way to do it though, seems reasonable.
- What would be useful would be a way to look up the SessionFactory from the servlet application context. JNDI often causes trouble, especially in Tomcat, and that way people could just build the SessionFactory themselves and put it in the application context in a startup servlet.
Yes, I would like to make the tags flexible to use in different setups. Aomeone had also asked about getting the Session/SessionFactory from ThreadLocal.
-- Serge Knystautas Lokitech >> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED]
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel