org.aksw.commons.sparql.api.cache.extra
Interface SqlDao

All Known Implementing Classes:
CacheCoreH2, SqlDaoBase

public interface SqlDao

Simple interface for Data Access Objects that are based on JDBC connection objects.

Author:
Claus Stadler

Method Summary
 Connection getConnection()
          Set the JDBC connection object to be used by the DAO.
 void setConnection(Connection conn)
          Retrieve the JDBC connection object that is currently associated with this DAO.
 

Method Detail

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


Copyright © 2011. All Rights Reserved.