cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2415) Transaction isolation and propagation support
Date Tue, 27 Mar 2018 11:21:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev closed CAY-2415.
--------------------------------
    Resolution: Fixed

https://github.com/apache/cayenne/commit/8c8a2f0bea2679cab65d9a1de05d5a72e883dcb7

> Transaction isolation and propagation support
> ---------------------------------------------
>
>                 Key: CAY-2415
>                 URL: https://issues.apache.org/jira/browse/CAY-2415
>             Project: Cayenne
>          Issue Type: Task
>          Components: Core Library
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.1.M2
>
>
> We need a way to control transaction isolation level and propagation logic.
> First step is to give an API to control this via explicit call to transaction manager:
> {code}
> TransactionDescriptor descriptor = new TransactionDescriptor(
>                 Connection.TRANSACTION_SERIALIZABLE, 
>                 TransactionPropagation.REQUIRES_NEW
>         );
> transactionManager.performInTransaction(transactionalOperation, descriptor);
> {code} 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message