Example usage for org.springframework.transaction.annotation Isolation REPEATABLE_READ

List of usage examples for org.springframework.transaction.annotation Isolation REPEATABLE_READ

Introduction

In this page you can find the example usage for org.springframework.transaction.annotation Isolation REPEATABLE_READ.

Prototype

Isolation REPEATABLE_READ

To view the source code for org.springframework.transaction.annotation Isolation REPEATABLE_READ.

Click Source Link

Document

A constant indicating that dirty reads and non-repeatable reads are prevented; phantom reads can occur.

Usage

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:com.inkubator.hrm.service.impl.HrmRoleServiceImpl.java

@Override
@Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50)
public List<HrmRole> getByParam(HrmRoleSearchParameter searchParameter, int firstResult, int maxResults,
        Order order) throws Exception {
    return this.hrmRoleDao.getByParam(searchParameter, firstResult, maxResults, order);
}

From source file:com.inkubator.sms.gateway.service.impl.LoginHistoryServiceImpl.java

@Override
@Transactional(readOnly = false, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 30)
public Integer getTotalByFullTextService(String parameter) throws Exception {
    return loginHistoryDao.getTotalByFullTextService(parameter);
}

From source file:com.inkubator.hrm.service.impl.LoginHistoryServiceImpl.java

@Override
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS, isolation = Isolation.REPEATABLE_READ, timeout = 50)
public List<LoginHistory> getByParam(LoginHistorySearchParameter searchParameter, int firstResult,
        int maxResults, Order order) throws Exception {
    return this.loginHistoryDao.getByParam(searchParameter, firstResult, maxResults, order);
}

From source file:com.inkubator.hrm.service.impl.TempAttendanceRealizationServiceImpl.java

@Override
@Transactional(readOnly = true, isolation = Isolation.REPEATABLE_READ, propagation = Propagation.SUPPORTS, timeout = 50)
public List<TempAttendanceRealization> getByParam(TempAttendanceRealizationSearchParameter searchParameter,
        int firstResult, int maxResults, Order order) throws Exception {
    return this.tempAttendanceRealizationDao.getByParam(searchParameter, firstResult, maxResults, order);
}