Project

General

Profile

Actions

CdmTransactions » History » Revision 4

« Previous | Revision 4/9 (diff) | Next »
Andreas Kohlbecker, 04/04/2013 11:54 AM


Transactions in the CDM Library

Information on transactions in the cdm. How transactions are configured and why they are configured in a specific way. Furthermore in future this page can contain also information on transaction boundaries and the like.

The default propagation strategy for service classes is Propagation.SUPPORTS

With r8688 Propagation.SUPPORTS as been set as default propagation strategy for all service classes:

@Transactional(readOnly = true, propagation = Propagation.SUPPORTS) 
class ...

This has been only introduced to prevent early commit in Spring Web-flow.

In Forums and blocks the recommendation to set the propagation strategy to Propagation.SUPPORTS, this should increase the performance:

We tested the effect of setting propagation strategy to Propagation.SUPPORTS and could not find a significant difference.

see Propagation.SUPPORTS-vs-Propagation.REQUIRED.ods

Updated by Andreas Kohlbecker over 11 years ago · 4 revisions