org.kuali.rice.kns.dao.jdbc
Class SequenceAccessorDaoJdbc
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc
org.kuali.rice.kns.dao.jdbc.SequenceAccessorDaoJdbc
- All Implemented Interfaces:
- PlatformAwareDao, SequenceAccessorDao, org.springframework.beans.factory.InitializingBean
public class SequenceAccessorDaoJdbc
- extends PlatformAwareDaoBaseJdbc
- implements SequenceAccessorDao
This class uses the KualiDBPlatform to get the next number from a given sequence.
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport |
getSimpleJdbcTemplate, initTemplateConfig |
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceAccessorDaoJdbc
public SequenceAccessorDaoJdbc()
getNextAvailableSequenceNumber
public java.lang.Long getNextAvailableSequenceNumber(java.lang.String sequenceName,
java.lang.Class<? extends org.kuali.rice.kns.bo.BusinessObject> clazz)
- Specified by:
getNextAvailableSequenceNumber
in interface SequenceAccessorDao
getNextAvailableSequenceNumber
public java.lang.Long getNextAvailableSequenceNumber(java.lang.String sequenceName)
- Specified by:
getNextAvailableSequenceNumber
in interface SequenceAccessorDao
- See Also:
SequenceAccessorDao.getNextAvailableSequenceNumber(java.lang.String)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.