| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JDBCConnectionService
Interface used to obtain a database connection from a JDBC data source.
JDBC data sources are identified by name, not JNDI path.
| Method Summary | |
|---|---|
|  Connection | getConnection(String sqlConnectionName)Gets a Connectioninstance from the named JDBC data source. | 
|  void | releaseConnection(Connection connection)Releases the Connectioninstance. | 
| Method Detail | 
|---|
Connection getConnection(String sqlConnectionName)
                         throws SQLException,
                                JDBCConnectionServiceException
Gets a Connection instance from the named JDBC data source.
 When finished with the connection, the security provider must invoke the
 releaseConnection method to release that connection.
sqlConnectionName - 
SQLException - - if the database connection is unavailable
JDBCConnectionServiceException - - if the named JDBC data source is unavailable
void releaseConnection(Connection connection)
                       throws SQLException
Releases the Connection instance.
connection - 
SQLException - - if the database connection is unavailable| 
 | Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.3 API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||