Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-6772

[3.27] DEV UI HQL console doesn't work as Quarkus returns invalid JSON

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • +
    • Hide
      git clone git@github.com:michalvavrik/hibernate-hql-console-3-27.git
      cd hibernate-hql-console-3-27
      quarkus dev
      # navigate to http://localhost:8080/q/dev-ui/quarkus-hibernate-orm/hql-console
      

      then type from Orders and you can try something more complex like select o from Orders o join fetch o.address join fetch o.items order by o.id asc

      If you try quarkus dev -Dquarkus.platform.version=3.28.1 instead, it works.

      Show
      git clone git@github.com:michalvavrik/hibernate-hql-console-3-27.git cd hibernate-hql-console-3-27 quarkus dev # navigate to http://localhost:8080/q/dev-ui/quarkus-hibernate-orm/hql-console then type from Orders and you can try something more complex like select o from Orders o join fetch o.address join fetch o.items order by o.id asc If you try quarkus dev -Dquarkus.platform.version=3.28.1 instead, it works.
    • ---

      I want to use Quarkus DEV UI HQL console introduced by QUARKUS-6243, but even simple query like from Orders fail. However this is not issue in Quarkus 3.28, therefore I believe someone needs to investigate and backport the fix. I have tested 3.27.999-SNAPSHOT and the issue is there, therefore the fix wasn't backported yet.

      I created standalone reproducer, but here is Jenkins job ref. https://jenkins-csb-quarkusqe-main.dno.corp.redhat.com/view/rhbq-3.27-extended-platform/job/rhbq-3.27-win22-jdk17-baremetal-ts-jvm-podman/label=RHEL8%20&&%20medium,scenario=hibernate-modules/10/testReport/junit/io.quarkus.qe.hibernate/DevModePostgresqlHQLConsoleIT/testHandlePagination/

              rhn-support-ggastald George Gastaldi
              rh-ee-mvavrik Michal Vavrik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: