Commit Graph

76 Commits

Author SHA1 Message Date
Christoph Strobl
c98c82e832 DATAKV-169 - Add support for IN keyword in derived queries.
We now support `In` keyword in derived finder methods (eg. `findByFirstnameIn(Collection<String> firstnames)`) when using SpEL based queries.

Original pull request: #23.
2017-04-18 09:37:53 +02:00
Oliver Gierke
fe897b2888 DATAKV-151 - Updated changelog. 2017-04-10 14:37:31 +02:00
Oliver Gierke
ff59d30555 DATAKV-161 - Prepare 1.1.8 (Hopper SR8). 2017-03-02 11:29:33 +01:00
Oliver Gierke
c274d489a7 DATAKV-161 - Updated changelog. 2017-03-02 11:29:23 +01:00
Oliver Gierke
f1c90465f4 DATAKV-162 - Updated changelog. 2017-03-02 11:10:56 +01:00
Christoph Strobl
90fff34560 DATAKV-163 - Use Spring 5 compatible version of AnnotatedElementUtils.findAnnotationAttributes. 2017-02-01 13:45:43 +01:00
Oliver Gierke
e49f951c56 DATAKV-155 - Prepare 1.1.7 (Hopper SR7). 2017-01-26 11:33:07 +01:00
Oliver Gierke
1fe3cea2d9 DATAKV-155 - Updated changelog. 2017-01-26 11:32:54 +01:00
Oliver Gierke
cc0bfb43f6 DATAKV-156 - Updated changelog. 2017-01-26 11:23:21 +01:00
Oliver Gierke
a115a13cae DATAKV-148 - Prepare 1.1.6 (Hopper SR6). 2016-12-21 19:03:39 +01:00
Oliver Gierke
7903a33fe3 DATAKV-148 - Updated changelog. 2016-12-21 19:03:28 +01:00
Oliver Gierke
d39ebfb6ea DATAKV-141 - Updated changelog. 2016-12-21 18:42:52 +01:00
Oliver Gierke
8f827e1b78 DATAKV-149 - Updated changelog. 2016-11-23 13:52:36 +01:00
Oliver Gierke
5702ccb314 DATAKV-146 - Prepare 1.1.5 (Hopper SR5). 2016-11-03 17:55:59 +01:00
Oliver Gierke
f8f71e67fc DATAKV-146 - Updated changelog. 2016-11-03 17:55:49 +01:00
Oliver Gierke
587d72bd92 DATAKV-144 - Prepare 1.1.4 (Hopper SR4). 2016-09-29 13:53:26 +02:00
Oliver Gierke
cac56eff23 DATAKV-144 - Updated changelog. 2016-09-29 13:53:14 +02:00
Oliver Gierke
6dfd023a7e DATAKV-145 - Updated changelog. 2016-09-29 11:53:40 +02:00
Oliver Gierke
cd1175cab6 DATAKV-143 - Updated changelog. 2016-09-29 11:48:42 +02:00
Oliver Gierke
ab4ab577f3 DATAKV-133 - Updated changelog. 2016-09-20 11:56:20 +02:00
Oliver Gierke
b942dfb751 DATAKV-139 - Prepare 1.1.3 (Hopper SR3). 2016-09-20 10:54:16 +02:00
Oliver Gierke
b0f2595045 DATAKV-139 - Updated changelog. 2016-09-20 10:54:07 +02:00
Oliver Gierke
4d6da767f4 DATAKV-134 - Prepare 1.1.2 (Hopper SR2). 2016-06-15 13:44:52 +02:00
Oliver Gierke
f71e4c27fc DATAKV-134 - Updated changelog. 2016-06-15 13:44:40 +02:00
Christoph Strobl
d867085c9b DATAKV-137 - Polishing.
Remove whitespaces & unused imports, fix warnings.

Original Pull Request: #20
2016-06-14 08:18:10 +02:00
Mark Paluch
12b68c5994 DATAKV-137 - Fix cached query execution.
We now make sure that cached SpelCriteria's use the appropriate EvaluationContext containing parameters from the request instead of using the EvaluationContext of the cached query.

Original Pull Request: #20
2016-06-14 08:18:03 +02:00
Christoph Strobl
c4054e6530 DATAKV-136 - Choose SecureRandom algorithm based on operating system and availability.
We now distinguish between operating systems when choosing a SecureRandom algorithm. Additionally we check the availability of the implementations and choose the first one available.

Original pull request: #21.
2016-06-13 13:20:58 +02:00
Oliver Gierke
12f5807b96 DATAKV-132 - Prepare 1.1.1 (Hopper SR1). 2016-04-06 22:31:40 +02:00
Oliver Gierke
bfa0f4003f DATAKV-132 - Updated changelog. 2016-04-06 22:31:32 +02:00
Oliver Gierke
9098e70274 DATAKV-130 - Prepare 1.1 GA (Hopper). 2016-04-06 16:34:45 +02:00
Oliver Gierke
23a0fc9de2 DATAKV-130 - Updated changelog. 2016-04-06 16:34:34 +02:00
Oliver Gierke
062814da5a DATAKV-128 - Prepare 1.1 RC1 (Hopper). 2016-03-18 11:06:57 +01:00
Oliver Gierke
44b90141f7 DATAKV-128 - Updated changelog. 2016-03-18 11:06:47 +01:00
Mark Paluch
6d29f62f1e DATAKV-112 - Polishing.
Updated license header. Fixed documentation reference.

Related tickets: DATAKV-112, DATAKV-117
Original pull request: #18.
2016-03-10 17:08:18 +01:00
Christoph Strobl
fae6d418b6 DATAKV-117 - Pass on type information to KV Adapter.
Original pull request: #18.
2016-03-10 17:08:18 +01:00
Christoph Strobl
551b27deb2 DATAKV-112 - Make caching repository queries more explicit.
We introduced an explicit CachingKeyValuePartTreeQuery and allow setting the gernal repository query stategy via QueryCreatorType.
By default queries will not be cached.

Original pull request: #18.
2016-03-10 17:08:18 +01:00
Mark Paluch
b40c8c1ed6 DATAKV-129 - Polishing.
Updated license header.

Original pull request: #19.
2016-03-10 17:06:47 +01:00
Christoph Strobl
070be6e47d DATAKV-129 - Allow usage of @AliasFor with @KeySpace.
We now allow using Spring's meta-annotation programming model. Own meta-annotations can be composed using @KeySpace and @AliasFor annotation.
Example for a custom meta-annotation corresponding to @KeySpace("sessions") when it's used with @SessionsKeyspace class MyEntity {…}:

@Persistent
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@KeySpace
public @interface SessionsKeyspace {

	@AliasFor(annotation = KeySpace.class, attribute = "value")
	String name() default "sessions";
}

Original pull request: #19.
2016-03-10 17:06:47 +01:00
Oliver Gierke
2cce00f1fe DATAKV-126 - Updated changelog. 2016-02-23 14:27:23 +01:00
Oliver Gierke
cd93bced7f DATAKV-124 - Prepare 1.1 M1 (Hopper). 2016-02-12 15:36:20 +01:00
Oliver Gierke
683bcb3559 DATAKV-124 - Updated changelog. 2016-02-12 15:36:13 +01:00
Oliver Gierke
874b2bc880 DATAKV-123 - Introduced dedicated KeyValueRepositoryFactoryBean.createRepositoryFactory(…).
We now expose a dedicated method for implementors to use to create the repository factory instance based on the configuration of the factory.

Added unit tests to make sure the factory bean fails fast if it's configured improperly.

Original Pull Request: #17
2016-02-11 10:02:17 +01:00
Oliver Gierke
40fe2addac DATAKV-115 - Polishing.
Introduced dedicated constructor on SpelCriteria to default the EvaluationContext to StandardEvaluationContext. Switched to ternary if in KeyValuePartTreeQuery for both application of Pageable and Sort. Tweaked unit test to actually compile in Eclipse.

Original pull request: #16.
2016-02-09 15:51:47 +01:00
Christoph Strobl
e22ee22e58 DATAKV-115 - Make derived finder execution thread-safe.
We now make sure separate SpelExpression and EvaluationContext for each and every derived finder execution to assert the expression context cannot be accidentally overridden.

Original pull request: #16.
2016-02-09 15:50:19 +01:00
Oliver Gierke
62276f3d69 DATAKV-122 - Updated changelog. 2015-12-18 10:54:22 +01:00
Oliver Gierke
d1df6d5e76 DATAKV-121 - Added support for projections on repository query methods.
Repository methods can now return interfaces that act as projections on the original entity instances stored in the repository.

Related ticket: DATACMNS-89.
2015-12-14 19:57:34 +01:00
Oliver Gierke
e7efe2912c DATAKV-119 - Upgraded to Querydsl 4. 2015-11-17 13:43:29 +01:00
Oliver Gierke
7ac4f5ff93 DATAKV-118 - Updated changelog. 2015-11-16 08:59:47 +01:00
Oliver Gierke
d7b2c0f499 DATAKV-114 - Polishing.
Polished newly added unit tests. Added missing license header and JavaDoc where necessary. More speaking variable names. Removed unnecessary code from test domain type.

Original pull request: #15.
2015-11-02 06:33:39 +01:00
Martin Macko
95c56c8dd4 DATAKV-114 - Fixed NullPointerException in SpelQueryEngine.
Original pull request: #15.
2015-11-02 06:31:28 +01:00