From 5b9a5b17eb0afb7876580d4066b0f9dd7af81bc1 Mon Sep 17 00:00:00 2001 From: Komi Serge Innocent Date: Sat, 5 Sep 2015 11:44:32 +0000 Subject: [PATCH] DATAJPA-876 - Fix typo in reference doc. Original pull request: #156. --- src/main/asciidoc/jpa.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/asciidoc/jpa.adoc b/src/main/asciidoc/jpa.adoc index 8af19d339..79ba9d240 100644 --- a/src/main/asciidoc/jpa.adoc +++ b/src/main/asciidoc/jpa.adoc @@ -144,8 +144,8 @@ We will create a query using the JPA criteria API from this but essentially this |Keyword|Sample|JPQL snippet |`And`|`findByLastnameAndFirstname`|`… where x.lastname = ?1 and x.firstname = ?2` |`Or`|`findByLastnameOrFirstname`|`… where x.lastname = ?1 or x.firstname = ?2` -|`Is,Equals`|`findByFirstname`,`findByFirstnameIs`,`findByFirstnameEquals`|`… where x.firstname = 1?` -|`Between`|`findByStartDateBetween`|`… where x.startDate between 1? and ?2` +|`Is,Equals`|`findByFirstname`,`findByFirstnameIs`,`findByFirstnameEquals`|`… where x.firstname = ?1` +|`Between`|`findByStartDateBetween`|`… where x.startDate between ?1 and ?2` |`LessThan`|`findByAgeLessThan`|`… where x.age < ?1` |`LessThanEqual`|`findByAgeLessThanEqual`|`… where x.age <= ?1` |`GreaterThan`|`findByAgeGreaterThan`|`… where x.age > ?1`