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

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

Introduction

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

Prototype

Propagation REQUIRES_NEW

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

Click Source Link

Document

Create a new transaction, and suspend the current transaction if one exists.

Usage

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

@Override
@Transactional(propagation = Propagation.REQUIRES_NEW)
public PersonalDetails merge(PersonalDetails entity) {
    return null;
}

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

@Override
@Transactional(propagation = Propagation.REQUIRES_NEW)
public GeneralEmployee merge(GeneralEmployee entity) {
    return null;
}

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

@Override
@Transactional(propagation = Propagation.REQUIRES_NEW)
public SellingSandals merge(SellingSandals entity) {
    return null;
}

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

@Override
@Transactional(propagation = Propagation.REQUIRES_NEW)
public GeneralPurpose merge(GeneralPurpose entity) {
    return null;
}

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

@Override
@Transactional(propagation = Propagation.REQUIRES_NEW)
public ArticulatedLorry merge(ArticulatedLorry entity) {
    return null;
}

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

@Override
@Transactional(propagation = Propagation.REQUIRES_NEW)
public OpenTopContainer merge(OpenTopContainer entity) {
    return null;
}

From source file:org.seedstack.spring.fixtures.EmServiceImpl.java

@Transactional(value = "user", propagation = Propagation.REQUIRES_NEW)
@Override/* www  . j  a v  a2  s  .c o m*/
public void nestedUserTransaction() {
    User user = new User("otherFirstName", "otherLastName", "otherEmail");
    userService.getEntityManager().persist(user);
}

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

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

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

@Override
@Transactional(propagation = Propagation.REQUIRES_NEW)
public VentilatedContainer merge(VentilatedContainer entity) {
    return null;
}

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

@Override
@Transactional(propagation = Propagation.REQUIRES_NEW)
public ProductBuyer merge(ProductBuyer entity) {
    return null;
}