Bug 382 : Ebean.endTransaction(); ... trying to rollback - should be same as transaction.end();
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.7.5
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
11/03/2012
Updated 
11/03/2012
Type 
Bug
 
Attachments 
No attachments


Transaction transaction = Ebean.beginTransaction();
try {
...

transaction.commit();

} finally {
//transaction.end();
Ebean.endTransaction();
}

 
Rob 11 Mar 09:57
Ebean.endTransaction() should be the same as transaction.end() but its not

Instead it tries to rollback.

This BUG was introduced with fix for Bug 372.

Rob 11 Mar 09:59
Fixed in HEAD.

Fixed in HEAD.

woResponse

Upload a file