Class AQConnection
java.lang.Object
org.eclipse.persistence.internal.eis.adapters.aq.AQConnection
- All Implemented Interfaces:
Connection
Connection to Oracle AQ JCA adapter.
This connection wraps a AQ native session (which wraps a JDBC connection).
- Since:
- OracleAS TopLink 10g (10.0.3)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Connectionprotected oracle.jakarta.AQ.AQSessionprotected AQConnectionSpecprotected AQTransaction -
Constructor Summary
ConstructorsConstructorDescriptionAQConnection(oracle.jakarta.AQ.AQSession session, Connection connection, AQConnectionSpec spec) Create the connection on a native AQ session. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the AQ native session and the database connection.Return the JDBC database connection.Result sets are not supported.oracle.jakarta.AQ.AQSessionReturn the AQ native session.
-
Field Details
-
spec
-
transaction
-
session
protected oracle.jakarta.AQ.AQSession session -
databaseConnection
-
-
Constructor Details
-
AQConnection
public AQConnection(oracle.jakarta.AQ.AQSession session, Connection connection, AQConnectionSpec spec) Create the connection on a native AQ session. The session must be connected to a JDBC connection.
-
-
Method Details
-
getDatabaseConnection
Return the JDBC database connection. -
getSession
public oracle.jakarta.AQ.AQSession getSession()Return the AQ native session. -
close
Close the AQ native session and the database connection.- Specified by:
closein interfaceConnection- Throws:
ResourceException
-
createInteraction
- Specified by:
createInteractionin interfaceConnection
-
getConnectionSpec
-
getLocalTransaction
- Specified by:
getLocalTransactionin interfaceConnection
-
getAQTransaction
-
getMetaData
- Specified by:
getMetaDatain interfaceConnection
-
getResultSetInfo
Result sets are not supported.- Specified by:
getResultSetInfoin interfaceConnection
-