@Override
 public boolean visitOuterJoin(EJBQLJoin join) {
   joinAppender.appendOuterJoin(
       null,
       new EJBQLTableId(join.getLeftHandSideId()),
       new EJBQLTableId(join.getRightHandSideId()));
   context.markCurrentPosition(EJBQLJoinAppender.makeJoinTailMarker(join.getRightHandSideId()));
   return false;
 }
  @Override
  public boolean visitInnerJoin(EJBQLJoin join) {
    joinAppender.appendInnerJoin(
        null,
        new EJBQLTableId(join.getLeftHandSideId()),
        new EJBQLTableId(join.getRightHandSideId()));

    // fix 1341-mark current join position for probable future joins to this join
    context.markCurrentPosition(EJBQLJoinAppender.makeJoinTailMarker(join.getRightHandSideId()));
    return false;
  }