Bug 100 : Add support to configure behaviour for ending query only transactions
Priority 
Medium
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
1.2.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
02/04/2009
Updated 
02/04/2009
Type 
Bug
 
Attachments 
No attachments

You can now configure if you want to Rollback, Commit or just close when a query only transaction commits

The default is now to ROLLBACK (was defaulting to just use close on read committed isolation level)

So ROLLBACK is now the default and you can specify which one of the three options you want.

## Rollback is now the default
#ebean.transaction.onqueryonly=ROLLBACK
#ebean.transaction.onqueryonly=CLOSE
#ebean.transaction.onqueryonly=COMMIT

People may wish for more performance by choosing "CLOSE" mode when using Read Committed Isolation level.

 
Rob 02 Apr 09:07
This is in HEAD

This change is in HEAD now.

woResponse

Upload a file