Connection.close() does not always rollback connection

Bug #791829 reported by Patric
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BoneCP
Fix Committed
Undecided
Unassigned

Bug Description

Hi Wallace,

just to report this bug/jdbc spec violation officially:

conn = boneCP.getConnection();
conn.rollback();
//do some inserts
conn.close();

must definitely result in a rollback on close().
(this does not happen even if resetConnectionOnClose feature is enabled).

Revision history for this message
Wallace Wadge (wwadge) wrote :

This is currently fixed (but broke the stack trace warning feature).

Changed in bonecp:
status: New → Fix Committed
Revision history for this message
Bruno Medeiros (brunojcm) wrote :

It's not god to break the stack trace warning feature.. Wil you still consider this as "fix commited"?

Revision history for this message
Wallace Wadge (wwadge) wrote :

Hi Bruno,

Which version are you referring to?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.