code: public Reservation findByReservationId(ReservationId reservationId) throws NoResultException {
          EntityManager entityManager = getEntityManager();
          try {
              return entityManager.createQuery("SELECT t FROM io.motown.operatorapi.viewmodel.persistence.entities.Reservation AS t WHERE t.reservationId = :reservationId", Reservation.class)
                      .setParameter("reservationId", reservationId.getId())
                      .getSingleResult();
          } finally {
              entityManager.close();
          }
      }
docs: Find reservations by reservation id (not the auto-increment reservation.id)