link start!
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package oracle.jdbc.pool;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import javax.sql.DataSource;
|
||||
import javax.sql.PooledConnection;
|
||||
|
||||
public interface OracleConnectionCache extends DataSource {
|
||||
void close() throws SQLException;
|
||||
|
||||
void closePooledConnection(PooledConnection pooledConnection) throws SQLException;
|
||||
|
||||
void reusePooledConnection(PooledConnection pooledConnection) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package oracle.jdbc.pool;
|
||||
|
||||
import oracle.jdbc.OracleConnection;
|
||||
|
||||
public interface OracleConnectionCacheCallback {
|
||||
boolean handleAbandonedConnection(OracleConnection oracleConnection, Object obj);
|
||||
|
||||
void releaseConnection(OracleConnection oracleConnection, Object obj);
|
||||
}
|
||||
Reference in New Issue
Block a user