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 committed Jun 7, 2024
1 parent 4ee35f8 commit bdd407c
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 bdd407c

Please sign in to comment.