List of usage examples for org.springframework.transaction.annotation Propagation SUPPORTS
Propagation SUPPORTS
To view the source code for org.springframework.transaction.annotation Propagation SUPPORTS.
Click Source Link
From source file:com.inkubator.hrm.service.impl.PositionServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, rollbackFor = Exception.class) public List<Position> getByParam(PositionSearchParameter searchParameter, int firstResult, int maxResults, Order order) throws Exception { return positionDao.getByParam(searchParameter, firstResult, maxResults, order); }
From source file:com.inkubator.sms.gateway.service.impl.PhoneBookServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<PhoneBook> getAllByFullTextService(String parameter, int first, int pageSize, Order order) throws Exception { return this.phoneBookDao.getAllByFullTextService(parameter, first, pageSize, order); }
From source file:com.inkubator.sms.gateway.service.impl.RoleServiceImpl.java
@Override @Transactional(readOnly = false, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public Integer getTotalByFullTextService(String parameter) { return roleDao.getTotalByFullTextService(parameter); }
From source file:com.inkubator.sms.gateway.service.impl.GroupPhoneServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<GroupPhone> getAllByFullTextService(String parameter, int first, int pageSize, Order order) throws Exception { return this.groupPhoneDao.getAllByFullTextService(parameter, first, pageSize, order); }
From source file:com.inkubator.hrm.service.impl.DepartmentServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<Department> getByParam(DepartmentSearchParameter searchParameter, int firstResult, int maxResults, Order order) throws Exception { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }
From source file:com.inkubator.sms.gateway.service.impl.ModemDefinitionServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<ModemDefinition> getAllData() throws Exception { return this.modemDefinitionDao.getAllData(); }
From source file:com.inkubator.sms.gateway.service.impl.LoginHistoryServiceImpl.java
@Override @Transactional(readOnly = false, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<LoginHistory> getAllByFullTextService(String parameter, int minResult, int maxResult, Order order) throws Exception { return loginHistoryDao.getAllByFullTextService(parameter, minResult, maxResult, order); }
From source file:se.vgregion.dao.domain.patterns.repository.db.jpa.AbstractJpaRepository.java
/** * {@inheritDoc}/* w w w. java2 s.c om*/ */ @SuppressWarnings("unchecked") @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public List<T> findByNamedQuery(String queryName, Object[] args) { Query namedQuery = entityManager.createNamedQuery(queryName); if (args != null) { for (int i = 0; i < args.length; i++) { namedQuery.setParameter(i + 1, args[i]); } } return namedQuery.getResultList(); }
From source file:com.inkubator.hrm.service.impl.ApprovalDefinitionServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.READ_COMMITTED, propagation = Propagation.SUPPORTS, timeout = 30) public Long getTotalApprovalDefinitionByParam(ApprovalDefinitionSearchParameter searchParameter) throws Exception { return this.approvalDefinitionDao.getTotalApprovalDefinitionByParam(searchParameter); }
From source file:edu.northwestern.bioinformatics.studycalendar.service.SubjectService.java
@Transactional(propagation = Propagation.SUPPORTS) protected void schedulePeriod(Period period, Amendment sourceAmendment, String reason, Population restrictToPopulation, ScheduledStudySegment targetStudySegment) { log.debug("Adding events from period {}", period); for (PlannedActivity plannedActivity : period.getPlannedActivities()) { schedulePlannedActivity(plannedActivity, period, sourceAmendment, reason, restrictToPopulation, targetStudySegment);//from w ww . j a v a2 s .co m } }