Skip to content

Commit

Permalink
Docs: clarify named queries for Panache
Browse files Browse the repository at this point in the history
Fixes quarkusio#40987

(cherry picked from commit bdd407c)
  • Loading branch information
FroMage authored and gsmet committed Jun 10, 2024
1 parent a6b3e24 commit 4c0b199
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 4c0b199

Please sign in to comment.