Patches item #495955, was opened at 2001-12-21 12:07
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=495955&group_id=22866

Category: JBossCX
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Kilgore (richard-kilgore)
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't rollback an autocommit connection

Initial Comment:
The following tiny patch prevents an errant call to
Connection.rollback() on a Connection object that
has been set to auto commit.

The altered method (XAConnectionImpl.rollback())
gets called by XAConnectionFactory before returning
the XAConnection to the pool.

Without the patch, if the user sets a Connection
from a connection pool to auto commit, each
connection gets used once, and then discarded
immediately from the pool (i.e., there is no
connection pooling going on at all -- just a bunch
of extra useless work).


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=495955&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to