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:service.crud.Impl.crudDaycareImpl.java

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

From source file:com.mycompany.property.Services.Crud.BuyingCrudServiceImpl.java

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

    return null;

}

From source file:com.mycompany.property.Services.Crud.AreaStatCrudImpl.java

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

    return null;

}

From source file:com.mycompany.property.Services.Crud.CommuneCrudServiceImpl.java

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

    return null;

}

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

@Transactional(propagation = Propagation.REQUIRED)
public void update(UserExam userExam) {
    userExamDAO.update(userExam);
}

From source file:gov.nih.nci.protexpress.service.impl.ProtExpressServiceImpl.java

/**
 * {@inheritDoc}/*ww  w  .ja va2  s  . com*/
 */
@Transactional(readOnly = false, propagation = Propagation.REQUIRED)
public void saveOrUpdate(Object object) {
    getHibernateTemplate().saveOrUpdate(object);
}

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

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

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

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

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

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

From source file:com.thesoftwareguild.flightmaster.daos.AirportDataDaoJdbcImpl.java

@Override
@Cacheable(value = "airportCache")
@Transactional(propagation = Propagation.REQUIRED)
public AirportData getAllAirports() {
    AirportData airportData = new AirportData();
    List<String> iataCodes = jdbcTemplate.queryForList(SQL_GET_ALL_IATA_CODES, String.class);
    airportData.setIataCodes(iataCodes);
    return airportData;
}