public interface JdbcStatementAction<T>
DAOException
.
If your action does not return a value, parameterize it with Void
and return null
from your implementation.T perform(Statement statement) throws Exception
statement
- A JDBC statement, which will be closed upon the finalization of
this method.null
.Exception
- Upon errors. This exception will be wrapped by a DAOException
.Copyright © 2016 Clazzes.org. All rights reserved.