Skip to content

Commit

Permalink
fix missing quote in HQL expression
Browse files Browse the repository at this point in the history
  • Loading branch information
gefloh committed Mar 23, 2023
1 parent 7d7bc87 commit 6d46c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/hibernate-reactive-panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ It is not possible to have a HQL `select new` query and `.project(Class)` at the
For example, this will fail:
[source,java]
----
PanacheQuery<RaceWeight> query = Person.find("select new MyView(d.race, AVG(d.weight)) from Dog d group by d.race).project(AnotherView.class);
PanacheQuery<RaceWeight> query = Person.find("select new MyView(d.race, AVG(d.weight)) from Dog d group by d.race").project(AnotherView.class);
----
====

Expand Down

0 comments on commit 6d46c2e

Please sign in to comment.