Project

General

Profile

Actions

CdmTransactions » History » Revision 2

« Previous | Revision 2/9 (diff) | Next »
Andreas Kohlbecker, 04/02/2013 09:50 AM


Transactions in the CDM Library - Configuration

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:

@Serive
@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 about 11 years ago · 2 revisions