Skip to content

Commit

Permalink
Docs: clarify named queries for Panache
Browse files Browse the repository at this point in the history
  • Loading branch information
FroMage authored and holly-cummins committed Jul 31, 2024
1 parent 3d8fde7 commit 2239c9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/hibernate-orm-panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -792,8 +792,8 @@ public class Person extends PanacheEntity {

[WARNING]
====
Named queries can only be defined inside your Jakarta Persistence entity classes (being the Panache entity class, or the repository parameterized type),
or on one of its super classes.
Named queries can only be defined inside your Jakarta Persistence entity classes,
or on one of their super classes.
====

=== Query parameters
Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/hibernate-reactive-panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ public class Person extends PanacheEntity {

[WARNING]
====
Named queries can only be defined inside your Jakarta Persistence entity classes (being the Panache entity class, or the repository parameterized type),
or on one of its super classes.
Named queries can only be defined inside your Jakarta Persistence entity classes,
or on one of their super classes.
====

=== Query parameters
Expand Down

0 comments on commit 2239c9d

Please sign in to comment.