From 467409d5763283b421b8fe784bb50119124faeaa Mon Sep 17 00:00:00 2001 From: ugultopu Date: Wed, 13 Dec 2017 21:10:11 -0400 Subject: [PATCH] Indicate that "Is" in "IsNull" is optional --- 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 33aff25cb2..2dbb5eb101 100644 --- a/src/main/asciidoc/jpa.adoc +++ b/src/main/asciidoc/jpa.adoc @@ -151,7 +151,7 @@ We will create a query using the JPA criteria API from this but essentially this |`GreaterThanEqual`|`findByAgeGreaterThanEqual`|`… where x.age >= ?1` |`After`|`findByStartDateAfter`|`… where x.startDate > ?1` |`Before`|`findByStartDateBefore`|`… where x.startDate < ?1` -|`IsNull`|`findByAgeIsNull`|`… where x.age is null` +|`IsNull`|`findByAge(Is)Null`|`… where x.age is null` |`IsNotNull,NotNull`|`findByAge(Is)NotNull`|`… where x.age not null` |`Like`|`findByFirstnameLike`|`… where x.firstname like ?1` |`NotLike`|`findByFirstnameNotLike`|`… where x.firstname not like ?1`