Skip to content

Commit 3bc92d4

Browse files
committed
Fix a typo in the Hibernate Reactive with Panache guide
1 parent 59e47e7 commit 3bc92d4

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)