From 447cbe0f6555f58935548a8b2decdcceac7d5bbc Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Wed, 27 Sep 2017 12:06:36 +0200 Subject: [PATCH] DATAJPA-1067 - Fixed type on JPQL keyword mapping table. --- src/main/asciidoc/jpa.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoc/jpa.adoc b/src/main/asciidoc/jpa.adoc index 5e0e6ec0f..f48fafa6c 100644 --- a/src/main/asciidoc/jpa.adoc +++ b/src/main/asciidoc/jpa.adoc @@ -161,7 +161,7 @@ We will create a query using the JPA criteria API from this but essentially this |`OrderBy`|`findByAgeOrderByLastnameDesc`|`… where x.age = ?1 order by x.lastname desc` |`Not`|`findByLastnameNot`|`… where x.lastname <> ?1` |`In`|`findByAgeIn(Collection ages)`|`… where x.age in ?1` -|`NotIn`|`findByAgeNotIn(Collection age)`|`… where x.age not in ?1` +|`NotIn`|`findByAgeNotIn(Collection ages)`|`… where x.age not in ?1` |`True`|`findByActiveTrue()`|`… where x.active = true` |`False`|`findByActiveFalse()`|`… where x.active = false` |`IgnoreCase`|`findByFirstnameIgnoreCase`|`… where UPPER(x.firstame) = UPPER(?1)`