there was a bug in the JCA impl... it opened SQL connections outside of
the UserTransaction, that's why I had to call commit() explicitly. now
that I understand a bit more about this J2EE mistery here's a fix that
works for me:

http://opensource.atlassian.com/projects/hibernate/browse/HB-1025

bye,

- 101


:: hi!
:: 
:: it's stated in the documentation at several places that in 
:: JTA environment it's unnecessarry to call 
:: session.transaction().commit(), but it's only true if the 
:: JTA transaction was opened by the container and the 
:: container will take care of committing it. (?)
:: 
:: if Hibernate opens the JTA transaction (like in my case, 
:: when using Hibernate from the web container) then I have to call
:: connection().commit() explicitly.
:: 
:: now, my knowledge gets limited here... is it a bug that 
:: Hibernate does not commit the transactions it opens in JTA 
:: environment? 
:: 
:: thanks,
:: 
:: - 101
:: 
:: 
:: -------------------------------------------------------
:: This SF.Net email is sponsored by: GNOME Foundation
:: Hackers Unite!  GUADEC: The world's #1 Open Source Desktop 
:: Event. GNOME Users and Developers European Conference, 
:: 28-30th June in Norway http://2004/guadec.org 
:: _______________________________________________
:: hibernate-devel mailing list [EMAIL PROTECTED]
:: https://lists.sourceforge.net/lists/listinfo/hibernate-devel
:: 
:: 


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to