/**
  * This method closes the interaction and the connection to a JRA resource.
  *
  * @return True if successful, false if not.
  */
 public void closeConnectionInteraction() {
   try {
     try {
       if (interaction != null) {
         interaction.close();
       }
     } catch (Throwable e) {
       TransactionHelper.logDataException(
           callingFunctionName, "Failure closing the interaction with: ", e);
     }
     if (connection != null) {
       connection.close();
     }
   } catch (Throwable e) {
     TransactionHelper.logDataException(
         callingFunctionName, "Failure closeConnectionInteraction: ", e);
   }
 }