Skip to content

Commit 5b9a5b1

Browse files
Centonnichristophstrobl
authored andcommitted
DATAJPA-876 - Fix typo in reference doc.
Original pull request: #156.
1 parent 34dc9ff commit 5b9a5b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/jpa.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ We will create a query using the JPA criteria API from this but essentially this
144144
|Keyword|Sample|JPQL snippet
145145
|`And`|`findByLastnameAndFirstname`|`… where x.lastname = ?1 and x.firstname = ?2`
146146
|`Or`|`findByLastnameOrFirstname`|`… where x.lastname = ?1 or x.firstname = ?2`
147-
|`Is,Equals`|`findByFirstname`,`findByFirstnameIs`,`findByFirstnameEquals`|`… where x.firstname = 1?`
148-
|`Between`|`findByStartDateBetween`|`… where x.startDate between 1? and ?2`
147+
|`Is,Equals`|`findByFirstname`,`findByFirstnameIs`,`findByFirstnameEquals`|`… where x.firstname = ?1`
148+
|`Between`|`findByStartDateBetween`|`… where x.startDate between ?1 and ?2`
149149
|`LessThan`|`findByAgeLessThan`|`… where x.age < ?1`
150150
|`LessThanEqual`|`findByAgeLessThanEqual`|`… where x.age <= ?1`
151151
|`GreaterThan`|`findByAgeGreaterThan`|`… where x.age > ?1`

0 commit comments

Comments
 (0)