You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2018/03/27 10:05:00 UTC
[jira] [Created] (CAY-2415) Transaction isolation and propagation
support
Nikita Timofeev created CAY-2415:
------------------------------------
Summary: 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
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)