We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c05bd2 commit 5c14248Copy full SHA for 5c14248
src/main/java/org/sharrissf/sample/EhcacheSearchPlaying.java
@@ -94,7 +94,7 @@ public void runTests() throws IOException {
94
Query query = cache.createQuery();
95
query.includeKeys();
96
query.addCriteria(name.like("Ari*").and(gender.eq(Gender.MALE)))
97
- .addOrder(age, Direction.ASCENDING).maxResults(10);
+ .addOrderBy(age, Direction.ASCENDING).maxResults(10);
98
99
long t = System.currentTimeMillis();
100
System.out
0 commit comments