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.ProductServiceImpl.java

@Transactional(propagation = Propagation.REQUIRED)
@Override
public Product getProductDetailInfo(int id) {
    //TODO
    return null;
}

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

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

    return null;

}

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

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

    return null;

}

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

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

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

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

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

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

From source file:com.tut.spring.service.UserManagerImpl.java

@Transactional(propagation = Propagation.REQUIRED)
public void insertUsers(List<User> users) {
    if (users != null) {
        for (User user : users) {
            this.userDAO.saveOrUpdate(user);
        }/*from www  . j  ava2 s.co m*/
    }
}

From source file:dao.DAOVia.java

/**
 * /*from w w w .ja  v a  2 s  .co  m*/
 * @param _via 
 */
@Transactional(propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = exceptionsDAO.ActualizarViaException.class)
public void actualizarVia(Via _via) {
    em.merge(_via);
}

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

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

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

@Transactional(propagation = Propagation.REQUIRED)
public Question getQuestionById(Long Id) {
    return (Question) crudfasade.read(Id, Question.class);
}