站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

ConnectionHandle (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.jdbc.datasource
Interface ConnectionHandle

All Known Implementing Classes:
SimpleConnectionHandle

public interface ConnectionHandle

Simple interface to be implemented by handles for a JDBC Connection. Used by JdoDialect, for example.

Since:
1.1
Author:
Juergen Hoeller
See Also:
SimpleConnectionHandle, ConnectionHolder, JdoDialect.getJdbcConnection(javax.jdo.PersistenceManager, boolean)

Method Summary
 Connection getConnection()
          Fetch the JDBC Connection that this handle refers to.
 void releaseConnection(Connection con)
          Release the JDBC Connection that this handle refers to.
 

Method Detail

getConnection

Connection getConnection()
Fetch the JDBC Connection that this handle refers to.


releaseConnection

void releaseConnection(Connection con)
Release the JDBC Connection that this handle refers to.

Parameters:
con - the JDBC Connection to release


Copyright (c) 2002-2007 The Spring Framework Project.