public interface Connection
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.