Andrus Adamchik closed CAY-2112.
       Resolution: Fixed
    Fix Version/s: 4.0.M4

> Expose callback for "performInTransaction"
> ------------------------------------------
>                 Key: CAY-2112
>                 URL: https://issues.apache.org/jira/browse/CAY-2112
>             Project: Cayenne
>          Issue Type: Improvement
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 4.0.M4
> TransactionManager API added per CAY-1778 is nice to batch a bunch of 
> operations in a single transaction. It is missing the API to control 
> transaction parameters though. So we are back to API similar to the old 
> TransactionDelegate, except the callback can be applied to individual 
> operations (the delegate was inconveniently a stack singleton). The new API 
> will look like this:
> ServerRuntime.performInTransaction(TransactionOperation, TransactionListener)
> and will allow to customize connection isolation level, etc.

This message was sent by Atlassian JIRA

Reply via email to