List of usage examples for org.springframework.transaction.annotation Propagation REQUIRED
Propagation REQUIRED
To view the source code for org.springframework.transaction.annotation Propagation REQUIRED.
Click Source Link
From source file:cs544.wamp_blog_engine.service.impl.BlogService.java
@Transactional(propagation = Propagation.REQUIRED) @Override public Blog getBlog(int blogId) { return blogDAO.getBlog(blogId); }
From source file:org.fits.proweb.business.UserRoleComponent.java
@Override @Transactional(propagation = Propagation.REQUIRED) public void addUserRole(String userLogin, String roleName) { userRoleDao.addUserRole(userLogin, roleName); }
From source file:com.banda.truckmanagementmodel.services.crud.Impl.PersonalDetailsCrudServiceImpl.java
@Override @Transactional(propagation = Propagation.REQUIRED) public PersonalDetails remove(PersonalDetails entity) { return null; }
From source file:com.meganrobb.immutable_classes.service.crud.Impl.SellingSandalsCrudServiceImpl.java
@Override @Transactional(propagation = Propagation.REQUIRED) public SellingSandals remove(SellingSandals entity) { return null; }
From source file:com.banda.truckmanagementmodel.services.crud.Impl.GeneralPurposeCrudServiceImpl.java
@Override @Transactional(propagation = Propagation.REQUIRED) public GeneralPurpose remove(GeneralPurpose entity) { return null; }
From source file:com.banda.truckmanagementmodel.services.crud.Impl.GeneralEmployeeCrudServiceImpl.java
@Override @Transactional(propagation = Propagation.REQUIRED) public GeneralEmployee remove(GeneralEmployee entity) { return null; }
From source file:com.mycompany.capstone.dao.CommentDaoDbImpl.java
@Override @Transactional(propagation = Propagation.REQUIRED) public Comment create(Comment comment) { jdbcTemplate.update(SQL_INSERT_COMMENT, comment.getComment(), comment.getCommentDate(), //comment.getUserId(), comment.getUserName(), comment.getBlogPostId()); Integer id = jdbcTemplate.queryForObject("SELECT LAST_INSERT_ID()", Integer.class); comment.setId(id);//w ww .j a v a 2 s .c om return comment; }
From source file:dao.DAOComentario.java
/** * /*www . j a v a 2s .c o m*/ * @param _comentario */ @Transactional(propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = exceptionsDAO.ActualizarComentarioException.class) public void actualizarComentario(Comentario _comentario) { em.merge(_comentario); }
From source file:com.banda.truckmanagementmodel.services.crud.Impl.ArticulatedLorryCrudServiceImpl.java
@Override @Transactional(propagation = Propagation.REQUIRED) public ArticulatedLorry remove(ArticulatedLorry entity) { return null; }
From source file:com.banda.truckmanagementmodel.services.crud.Impl.OpenTopContainerCrudServiceImpl.java
@Override @Transactional(propagation = Propagation.REQUIRED) public OpenTopContainer remove(OpenTopContainer entity) { return null; }