Example usage for org.springframework.transaction.annotation Propagation REQUIRED

List of usage examples for org.springframework.transaction.annotation Propagation REQUIRED

Introduction

In this page you can find the example usage for org.springframework.transaction.annotation Propagation REQUIRED.

Prototype

Propagation REQUIRED

To view the source code for org.springframework.transaction.annotation Propagation REQUIRED.

Click Source Link

Document

Support a current transaction, create a new one if none exists.

Usage

From source file:com.immutabledomain.phonestore.services.crud.Impl.SixMonthCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public SixMonths remove(SixMonths entity) {
    return null;
}

From source file:cputgroup3a.immutability.service.crud.Impl.MediaStoreImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public PurchaseDvd remove(PurchaseDvd entity) {
    return null;
}

From source file:com.oak_yoga_studio.service.impl.SectionServiceImpl.java

@Transactional(propagation = Propagation.REQUIRED)
@Override/*from   ww  w  .  j ava 2  s  .  co m*/
public void updateSection(Section section) {
    try {
        sectionDAO.updateSection(section);

    } catch (Exception e) {

    }
}

From source file:com.banda.truckmanagementmodel.services.crud.Impl.RecepientCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public Receipient remove(Receipient entity) {
    return null;
}

From source file:com.immutabledomain.phonestore.services.crud.Impl.NonMemberCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public NonMember remove(NonMember entity) {
    return null;
}

From source file:com.immutabledomain.phonestore.services.crud.Impl.CardTransCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public CardTrans remove(CardTrans entity) {
    return null;
}

From source file:com.immutabledomain.phonestore.services.crud.Impl.CashTransCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public CashTrans remove(CashTrans entity) {
    return null;
}

From source file:com.banda.truckmanagementmodel.services.crud.Impl.TankTruckCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public TankTruck remove(TankTruck entity) {
    return null;
}

From source file:com.meganrobb.immutable_classes.service.crud.Impl.TransferCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public Transfers remove(Transfers entity) {
    return null;
}

From source file:dao.DAOEscuela.java

/**
 * //from www . j av a  2s .  c o  m
 * @param _escuela 
 */
@Transactional(propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = exceptionsDAO.ActualizarEscuelaException.class)
public void actualizarEscuela(Escuela _escuela) {
    em.merge(_escuela);
}