Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-2146

DO378-81: RHT1881869 - Method firstResultOptional() is found in PanacheQuery, not PanacheEntity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • DO378 - RHBoQ1.11-en-5-20220907
    • DO378
    • 2
    • en-US (English)

      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/do378-1.11/pages/ch02s07
      Reporter RHNID: carias@redhat.com
      Section: 7 - Lab: Implementing a Microservice with Quarkus
      Language: en-US (English)||
      Workaround:

      Description: The hint text in step 8 is misleading. Method firstResultOptional() is found in PanacheQuery, not PanacheEntity. As a suggestion, this step would also be more precise if the expected return type was specified outside the solution i.e. Optional.

      https://github.com/quarkusio/quarkus/search?q=firstResultOptional

              gls-curriculum-ocp-adv@redhat.com PTL - AppDev Team
              carias@redhat.com Carlos Arias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: