Class OracleNoSQLInteraction
- java.lang.Object
-
- org.eclipse.persistence.internal.nosql.adapters.sdk.OracleNoSQLInteraction
-
- All Implemented Interfaces:
jakarta.resource.cci.Interaction
public class OracleNoSQLInteraction extends Object implements jakarta.resource.cci.Interaction
Interaction to Oracle NoSQL JCA adapter.- Since:
- EclipseLink 4.0
- Author:
- Radek Felcman
-
-
Field Summary
Fields Modifier and Type Field Description protected OracleNoSQLConnectionconnectionStore the connection the interaction was created from.
-
Constructor Summary
Constructors Constructor Description OracleNoSQLInteraction(OracleNoSQLConnection connection)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearWarnings()voidclose()jakarta.resource.cci.Recordexecute(jakarta.resource.cci.InteractionSpec spec, jakarta.resource.cci.Record record)Execute the interaction and return output record.booleanexecute(jakarta.resource.cci.InteractionSpec spec, jakarta.resource.cci.Record input, jakarta.resource.cci.Record output)Output records are not supported/required.jakarta.resource.cci.ConnectiongetConnection()jakarta.resource.cci.ResourceWarninggetWarnings()
-
-
-
Field Detail
-
connection
protected OracleNoSQLConnection connection
Store the connection the interaction was created from.
-
-
Constructor Detail
-
OracleNoSQLInteraction
public OracleNoSQLInteraction(OracleNoSQLConnection connection)
Default constructor.
-
-
Method Detail
-
clearWarnings
public void clearWarnings()
- Specified by:
clearWarningsin interfacejakarta.resource.cci.Interaction
-
close
public void close()
- Specified by:
closein interfacejakarta.resource.cci.Interaction
-
execute
public boolean execute(jakarta.resource.cci.InteractionSpec spec, jakarta.resource.cci.Record input, jakarta.resource.cci.Record output) throws jakarta.resource.ResourceExceptionOutput records are not supported/required.- Specified by:
executein interfacejakarta.resource.cci.Interaction- Throws:
jakarta.resource.ResourceException
-
execute
public jakarta.resource.cci.Record execute(jakarta.resource.cci.InteractionSpec spec, jakarta.resource.cci.Record record) throws jakarta.resource.ResourceExceptionExecute the interaction and return output record. The spec is either GET, PUT or DELETE interaction.- Specified by:
executein interfacejakarta.resource.cci.Interaction- Throws:
jakarta.resource.ResourceException
-
getConnection
public jakarta.resource.cci.Connection getConnection()
- Specified by:
getConnectionin interfacejakarta.resource.cci.Interaction
-
getWarnings
public jakarta.resource.cci.ResourceWarning getWarnings()
- Specified by:
getWarningsin interfacejakarta.resource.cci.Interaction
-
-