Skip to content

Commit 034aec4

Browse files
committed
DATAJPA-1789 - Includes distinct in the list of supported keywords.
1 parent 0de5ddd commit 034aec4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/asciidoc/jpa.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ The following table describes the keywords supported for JPA and what a method c
221221
[options = "header, autowidth"]
222222
|===============
223223
|Keyword|Sample|JPQL snippet
224+
|`Distinct`|`findDistinctByLastnameAndFirstname`|`select distinct ... where x.lastname = ?1 and x.firstname = ?2`
224225
|`And`|`findByLastnameAndFirstname`|`… where x.lastname = ?1 and x.firstname = ?2`
225226
|`Or`|`findByLastnameOrFirstname`|`… where x.lastname = ?1 or x.firstname = ?2`
226227
|`Is`, `Equals`|`findByFirstname`,`findByFirstnameIs`,`findByFirstnameEquals`|`… where x.firstname = ?1`

0 commit comments

Comments
 (0)