DATACMNS-16 - Added 'NotIn' keyword.

This commit is contained in:
Oliver Gierke
2011-02-23 10:07:02 +01:00
parent 7753b9b446
commit 0721c7921c
2 changed files with 5 additions and 2 deletions

View File

@@ -143,6 +143,8 @@ public class Part {
LIKE("Like"),
NOT_IN("NotIn"),
IN("In"),
NEGATING_SIMPLE_PROPERTY("Not"),
@@ -152,8 +154,8 @@ public class Part {
// Need to list them again explicitly as the order is important
// (esp. for IS_NULL, IS_NOT_NULL)
private static final List<Part.Type> ALL = Arrays.asList(IS_NOT_NULL,
IS_NULL, BETWEEN, LESS_THAN, GREATER_THAN, NOT_LIKE, LIKE, IN,
NEGATING_SIMPLE_PROPERTY, SIMPLE_PROPERTY);
IS_NULL, BETWEEN, LESS_THAN, GREATER_THAN, NOT_LIKE, LIKE,
NOT_IN, IN, NEGATING_SIMPLE_PROPERTY, SIMPLE_PROPERTY);
private List<String> keywords;
private int numberOfArguments;

View File

@@ -7,6 +7,7 @@ Changes in version 1.0.0.M4
Repository
* Improved ParameterAccessor infrastructure
* Added support for 'Distinct' keyword in finder method names
* Added support for 'In' and 'NotIn' keywords
Changes in version 1.0.0.M3 (2011-02-09)
----------------------------------------