List of usage examples for org.springframework.transaction.annotation Isolation REPEATABLE_READ
Isolation REPEATABLE_READ
To view the source code for org.springframework.transaction.annotation Isolation REPEATABLE_READ.
Click Source Link
From source file:com.inkubator.hrm.service.impl.EmpCareerHistoryServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<EmpCareerHistory> getEmployeeCareerByBioId(long id) throws Exception { return this.empCareerHistoryDao.getEmployeeCareerByBioId(id); }
From source file:org.brekka.pegasus.core.services.impl.InboxServiceImpl.java
@Override @Transactional(isolation = Isolation.REPEATABLE_READ) public void deleteDeposit(final UUID depositId) { deleteDepositAfter(depositId, DateTime.now()); }
From source file:com.inkubator.hrm.service.impl.ProscessToApproveServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<ProscessToApprove> getByParam(ProscessToApproveSearchParameter searchParameter, int firstResult, int maxResults, Order order) throws Exception { return this.proscessToApproveDao.getByParam(searchParameter, firstResult, maxResults, order); }
From source file:org.brekka.pegasus.core.services.impl.InboxServiceImpl.java
@Override @Transactional(isolation = Isolation.REPEATABLE_READ) public void deleteDepositAfter(final UUID depositId, final DateTime after) { Deposit deposit = this.depositDAO.retrieveById(depositId); deposit.setExpires(after.toDate());/*from w w w . java 2s . c o m*/ this.depositDAO.update(deposit); }
From source file:com.inkubator.hrm.service.impl.EmpCareerHistoryServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<EmpCareerHistory> getByParamReport(ReportEmpMutationParameter searchParameter, int firstResult, int maxResults, Order order) { return this.empCareerHistoryDao.getByParamReport(searchParameter, firstResult, maxResults, order); }
From source file:com.inkubator.hrm.service.impl.OhsaIncidentDocumentServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<OhsaIncidentDocument> getListByOhsaIncidentId(Long ohsaIncidentId) { return ohsaIncidentDocumentDao.getListByOhsaIncidentId(ohsaIncidentId); }
From source file:com.inkubator.hrm.service.impl.BioSertifikasiServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<BioSertifikasi> getAllDataByBioDataId(Long bioDataId) { return this.bioSertifikasiDao.getAllDataByBioDataId(bioDataId); }
From source file:com.inkubator.hrm.service.impl.OhsaIncidentDocumentServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 30) public OhsaIncidentDocument getEntityByPKWithDetail(Integer id) { return ohsaIncidentDocumentDao.getEntityByPKWithDetail(id); }
From source file:com.inkubator.hrm.service.impl.LogWtAttendanceRealizationServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<TempAttendanceRealizationViewModel> getListTempAttendanceRealizationViewModelByWtPeriodId( WtAttendanceCalculationSearchParameter searchParameter, Long wtPeriodId, int firstResult, int maxResults, Order orderable) throws Exception { WtPeriode wtPeriode = wtPeriodeDao.getEntiyByPK(wtPeriodId); List<TempAttendanceRealizationViewModel> listTempAttendanceRealizationViewModel = logWtAttendanceRealizationDao .getListTempAttendanceRealizationViewModelByWtPeriodId(searchParameter, wtPeriodId, firstResult, maxResults, orderable); for (TempAttendanceRealizationViewModel tempModel : listTempAttendanceRealizationViewModel) { tempModel.setAbsenStatus(wtPeriode.getAbsen()); }/*w w w . j a v a 2 s . com*/ return listTempAttendanceRealizationViewModel; }
From source file:com.inkubator.hrm.service.impl.WtScheduleShiftServiceImpl.java
@Override @Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50) public List<WtScheduleShift> getByParam(Long workingGroupId, int firstResult, int maxResults, Order order) throws Exception { return this.wtScheduleShiftDao.getByParam(workingGroupId, firstResult, maxResults, order); }