Skip to content

Commit

Permalink
#23507 Fixed CciInteraction's compatibility with JDK17+
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatej committed Mar 3, 2022
1 parent dd67475 commit fd1b5a7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void close() throws ResourceException {

}

public boolean execute(InteractionSpec ispec, Record input, Record output)
public boolean execute(InteractionSpec ispec, jakarta.resource.cci.Record input, jakarta.resource.cci.Record output)
throws ResourceException {

if (ispec == null || (!(ispec instanceof CciInteractionSpec))) {
Expand Down Expand Up @@ -84,7 +84,7 @@ public boolean execute(InteractionSpec ispec, Record input, Record output)
* {? = call proc_name()}
* 3> execute the statement and return the output in an IndexedRecord object
*/
Record exec(String procName, String schema, String catalog, Record input, Record output)
jakarta.resource.cci.Record exec(String procName, String schema, String catalog, jakarta.resource.cci.Record input, jakarta.resource.cci.Record output)
throws ResourceException {
try {
java.sql.Connection conn = ((CciConnection) connection).getManagedConnection()
Expand Down Expand Up @@ -228,7 +228,7 @@ Record exec(String procName, String schema, String catalog, Record input, Record
}
}

public Record execute(InteractionSpec ispec, Record input) throws ResourceException {
public jakarta.resource.cci.Record execute(InteractionSpec ispec, jakarta.resource.cci.Record input) throws ResourceException {

if (ispec == null || (!(ispec instanceof CciInteractionSpec))) {
throw new ResourceException("Invalid interaction spec");
Expand Down

0 comments on commit fd1b5a7

Please sign in to comment.