Package dev.dsf.bpe.dao
Class LastEventTimeDaoJdbc
java.lang.Object
dev.dsf.bpe.dao.AbstractDaoJdbc
dev.dsf.bpe.dao.LastEventTimeDaoJdbc
- All Implemented Interfaces:
LastEventTimeDao,org.springframework.beans.factory.InitializingBean
public class LastEventTimeDaoJdbc
extends AbstractDaoJdbc
implements LastEventTimeDao, org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields inherited from class dev.dsf.bpe.dao.AbstractDaoJdbc
dataSource -
Constructor Summary
ConstructorsConstructorDescriptionLastEventTimeDaoJdbc(org.apache.commons.dbcp2.BasicDataSource dataSource, String type) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.bpe.dao.LastEventTimeDao
writeLastEventTime
-
Constructor Details
-
LastEventTimeDaoJdbc
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractDaoJdbc- Throws:
Exception
-
readLastEventTime
- Specified by:
readLastEventTimein interfaceLastEventTimeDao- Throws:
SQLException
-
writeLastEventTime
- Specified by:
writeLastEventTimein interfaceLastEventTimeDao- Parameters:
lastEvent- notnull- Returns:
- the given lastEvent with millisecond precision
- Throws:
SQLException- if a database access error occurs- See Also:
-