Skip to content

Commit 603c3a7

Browse files
authored
Merge pull request #31608 from TwoFX/reactive-panache-guide-typo
Fix a typo in the Hibernate Reactive with Panache guide
2 parents 15bc2e1 + 3bc92d4 commit 603c3a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/main/asciidoc/hibernate-reactive-panache.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ public class RaceWeight {
701701
}
702702
703703
// 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);
704+
PanacheQuery<RaceWeight> query = Person.find("select d.race, AVG(d.weight) from Dog d group by d.race").project(RaceWeight.class);
705705
----
706706
<1> Hibernate Reactive will use this constructor. When the query has a select clause, it is possible to have multiple constructors.
707707

0 commit comments

Comments
 (0)