|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Connection
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 |
|---|
void close()
throws ResourceException
ResourceException
Interaction createInteraction()
throws ResourceException
ResourceException
LocalTransaction getLocalTransaction()
throws ResourceException
ResourceException
ConnectionMetaData getMetaData()
throws ResourceException
ResourceException
ResultSetInfo getResultSetInfo()
throws ResourceException
ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||