Interface SqlDao
- All Known Implementing Classes:
SqlDaoBase
public interface SqlDao
Simple interface for Data Access Objects that are based on JDBC connection
objects.
- Author:
- Claus Stadler
-
Method Summary
Modifier and TypeMethodDescriptionSet the JDBC connection object to be used by the DAO.voidsetConnection(Connection conn) Retrieve the JDBC connection object that is currently associated with this DAO.
-
Method Details
-
getConnection
Connection getConnection()Set the JDBC connection object to be used by the DAO. -
setConnection
Retrieve the JDBC connection object that is currently associated with this DAO.- Throws:
SQLException
-