We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15bc2e1 + 3bc92d4 commit 603c3a7Copy full SHA for 603c3a7
docs/src/main/asciidoc/hibernate-reactive-panache.adoc
@@ -701,7 +701,7 @@ public class RaceWeight {
701
}
702
703
// Only the race and the average weight will be loaded
704
-PanacheQuery<RaceWeight> query = Person.find("select d.race, AVG(d.weight) from Dog d group by d.race).project(RaceWeight.class);
+PanacheQuery<RaceWeight> query = Person.find("select d.race, AVG(d.weight) from Dog d group by d.race").project(RaceWeight.class);
705
----
706
<1> Hibernate Reactive will use this constructor. When the query has a select clause, it is possible to have multiple constructors.
707
0 commit comments