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.oak_yoga_studio.service.impl.AddressServiceImpl.java

@Transactional(propagation = Propagation.REQUIRED)
public void updateAddress(Address address) {
    try {/*from w w  w .  j ava  2s  .co  m*/
        addDAO.updateAddress(address);
    } catch (Exception e) {
        e.printStackTrace();
    }
}

From source file:com.mycompany.Services.implementation.PayRollCrudImpl.java

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

From source file:com.mycompany.Services.implementation.BookingCrudImpl.java

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

From source file:cs544.letmegiveexam.service.QuestionSetService.java

@Transactional(propagation = Propagation.REQUIRED)
public QuestionSet get(long Id) {
    return questionSetDAO.get(Id);
}

From source file:com.sihle.elections2.services.crud.Imp.RankCrudserviceImp.java

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

From source file:service.crud.Impl.crudFinalEvolutionImpl.java

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

From source file:service.crud.Impl.crudMachineDetailsImpl.java

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

From source file:service.crud.Impl.crudTrainerDetailsImpl.java

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

From source file:com.sihle.elections2.services.crud.Imp.VoterCrudseviceImp.java

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

From source file:com.mycompany.Services.implementation.ContrackCrudImpl.java

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