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

ConnectionHandle (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

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

The Spring Framework

Copyright © 2002-2007 The Spring Framework.