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

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

Introduction

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

Prototype

Propagation SUPPORTS

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

Click Source Link

Document

Support a current transaction, execute non-transactionally if none exists.

Usage

From source file:com.karriem.tp2.immutable_domain_model_assignment.Service.Crud.PaymentMethodCrud.Impl.CreditCardCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.SUPPORTS)
public CreditCard find(String id) {

    return null;
}

From source file:com.karriem.tp2.immutable_domain_model_assignment.Service.Crud.TreatmentCrud.Impl.ComaTreatmentCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.SUPPORTS)
public ComaTreatment find(String id) {

    return null;
}

From source file:com.karriem.tp2.immutable_domain_model_assignment.Service.Crud.PatientsCrud.Impl.GeneralPatientCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.SUPPORTS)
public GeneralPatients find(String id) {

    return null;
}

From source file:com.healthcit.cacure.dao.QuestionTableDao.java

/**
 * @return Next Ord Number in ordered entities.
 *//*  w ww . java  2 s .co m*/
@Transactional(propagation = Propagation.SUPPORTS)
public Integer calculateNextOrdNumber(Long formId) {
    String jpql = "select MAX(ord + 1) from TableQuestion q, FormElement e where q.parent_id=e.id and e.form.id = :formId";
    Query query = em.createQuery(jpql);
    query.setParameter("formId", formId);
    return (Integer) query.getSingleResult();

}

From source file:com.karriem.tp2.immutable_domain_model_assignment.Service.Crud.EmployeesCrud.Impl.GeneralStaffCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.SUPPORTS)
public GeneralStaffPersonal find(String id) {

    return null;
}

From source file:com.karriem.tp2.immutable_domain_model_assignment.Service.Crud.EmployeesCrud.Impl.CleaningStaffCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.SUPPORTS)
public CleaningStaffPersonal find(String id) {

    return null;
}

From source file:com.karriem.tp2.immutable_domain_model_assignment.Service.Crud.SuppliersCrud.Impl.MedicalSuppliersCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.SUPPORTS)
public MedicalSupplies find(String id) {

    return null;
}

From source file:com.karriem.tp2.immutable_domain_model_assignment.Service.Crud.SuppliersCrud.Impl.GeneralSuppliersCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.SUPPORTS)
public GeneralSupplies find(String id) {

    return null;
}

From source file:cs425.yogastudio.service.CustomerService.java

@Transactional(propagation = Propagation.SUPPORTS)
public void setCustomerDAO(CustomerDAO customerDAO) {
    this.customerDAO = customerDAO;
}

From source file:com.karriem.tp2.immutable_domain_model_assignment.Service.Crud.EquipmentCrud.Impl.GeneralEquipmentCrudServiceImpl.java

@Override
@Transactional(propagation = Propagation.SUPPORTS)
public GeneralEquipment find(String id) {

    return null;
}