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 Type
    Method
    Description
    Set the JDBC connection object to be used by the DAO.
    void
    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

      void setConnection(Connection conn) throws SQLException
      Retrieve the JDBC connection object that is currently associated with this DAO.
      Throws:
      SQLException