package org.theonefx.wcframework.jdbc.datasource;
import java.sql.Connection;
/**
* Simple interface to be implemented by handles for a JDBC Connection.
* Used by JdoDialect, for example.
*/
public interface ConnectionHandle {
/**
* Fetch the JDBC Connection that this handle refers to.
*/
Connection getConnection();
/**
* Release the JDBC Connection that this handle refers to.
* @param con the JDBC Connection to release
*/
void releaseConnection(Connection con);
}