tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53523] rollbackOnReturn/commitOnReturn does not work without defaultAutoCommit=false
Date Fri, 16 Nov 2012 18:02:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53523

Pavel Cibulka <pavelcibulka@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pavelcibulka@gmail.com

--- Comment #5 from Pavel Cibulka <pavelcibulka@gmail.com> ---
Hi, I think this issue should be reopened.
rollbackOnReturn seems to me useless in current state. I don't agree with
performance reason argument. If you don't want use this feature because of
performance, you shouldn't enable it in the first place (instead of "tomcat
will disable it for you, because we know better than you" approach). If you
enable it, you should enable ConnectionState interceptor or pay performance
cost.

If you really want to protect people before themselves, you can enable this
only, if ConnectionState interceptor is enabled.

Pavel Cibulka

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message