|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Connection provides a handle for use by the application to access an underlying physical connection. The client calls the getConnection() method on a ConnectionFactory object to get a Connection.
| Method Summary | |
void |
close()
Closes a connection |
Interaction |
createInteraction()
Creates a new interaction associated with this connection. |
LocalTransaction |
getLocalTransaction()
Gets a LocalTransaction object which allows the client to manage local transactions for the connection. |
ConnectionMetaData |
getMetaData()
Gets meta data for the underlying resource represented by this connection. |
ResultSetInfo |
getResultSetInfo()
Gets information on ResultSet functionality supported by the underlying resource for the connection. |
| Method Detail |
public void close()
throws ResourceException
ResourceExceptionpublic Interaction createInteraction() throws ResourceException
ResourceExceptionpublic LocalTransaction getLocalTransaction() throws ResourceException
ResourceExceptionpublic ConnectionMetaData getMetaData() throws ResourceException
ResourceExceptionpublic ResultSetInfo getResultSetInfo() throws ResourceException
ResourceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||