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.mycompany.property.Services.Crud.BackPackersCrudServiceImpl.java

@Transactional(propagation = Propagation.REQUIRED)
public BackPackers remove(BackPackers entity) {

    return null;

}

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

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

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

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

From source file:com.tracy.immutable.service.crud.Impl.SummerCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public Summer remove(Summer entity) {

    return null;

}

From source file:com.tracy.immutable.service.crud.Impl.WinterCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED)
public Winter remove(Winter entity) {

    return null;

}

From source file:dao.DAONivel.java

/**
 * /* ww w  .ja  v a 2s .  co  m*/
 * @param _nivel 
 */
@Transactional(propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = exceptionsDAO.BorrarNivelException.class)
public void borrarNivel(Nivel _nivel) {
    em.remove(em.merge(_nivel));
}

From source file:inc.cygnus.service.impl.ProductServiceImpl.java

@Override
@Transactional(propagation = Propagation.REQUIRED, readOnly = false)
public Product delete(Product product) {
    return productDao.deleteBase(product);
}

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

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

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

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

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

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