Skip to content

Commit

Permalink
Merge pull request #18961 from GeorgHenkel/GeorgHenkel-patch-1
Browse files Browse the repository at this point in the history
Documentation: Changing parameter to ordinal
  • Loading branch information
gsmet authored Aug 5, 2021
2 parents d55b33f + 9b3105b commit 5ede9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/hibernate-orm-panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ You can reference a named query instead of a (simplified) HQL query by prefixing
[source,java]
----
@Entity
@NamedQuery(name = "Person.getByName", query = "from Person where name = :name")
@NamedQuery(name = "Person.getByName", query = "from Person where name = ?1")
public class Person extends PanacheEntity {
public String name;
public LocalDate birth;
Expand Down

0 comments on commit 5ede9b3

Please sign in to comment.