protected SqlExceptionHelper sqlExceptionHelper() {
   return transactionCoordinator
       .getJdbcCoordinator()
       .getLogicalConnection()
       .getJdbcServices()
       .getSqlExceptionHelper();
 }
 protected ConnectionProvider connectionProvider() {
   return transactionCoordinator
       .getJdbcCoordinator()
       .getLogicalConnection()
       .getJdbcServices()
       .getConnectionProvider();
 }
  @Override
  public boolean isJoinableJtaTransaction(
      final TransactionCoordinator transactionCoordinator, final ShardedTransaction transaction) {

    try {
      final int status =
          transactionCoordinator
              .getTransactionContext()
              .getTransactionEnvironment()
              .getJtaPlatform()
              .getCurrentStatus();
      return JtaStatusHelper.isActive(status);
    } catch (SystemException se) {
      throw new TransactionException("Unable to check transaction status", se);
    }
  }
 protected JdbcConnectionAccess jdbcConnectionAccess() {
   return transactionCoordinator.getTransactionContext().getJdbcConnectionAccess();
 }