Commit Graph

128 Commits

Author SHA1 Message Date
Mark Paluch
fbb29c1923 DATAKV-204 - Updated changelog. 2018-01-24 13:41:19 +01:00
Mark Paluch
37bae2af42 DATAKV-203 - Updated changelog. 2018-01-24 12:22:09 +01:00
Mark Paluch
6381daacc9 DATAKV-205 - Update copyright years to 2018. 2018-01-08 16:25:58 +01:00
Mark Paluch
80fd17c0ca DATAKV-202 - Updated changelog. 2017-11-27 16:43:39 +01:00
Mark Paluch
67eeed8901 DATAKV-201 - Updated changelog. 2017-11-27 15:58:42 +01:00
Oliver Gierke
fb27f435b2 DATAKV-199 - Updated changelog. 2017-10-27 16:36:44 +02:00
Oliver Gierke
bbe39f5476 DATAKV-193 - Updated changelog. 2017-10-11 19:01:32 +02:00
Mark Paluch
d43628b031 DATAKV-194 - Prepare 2.0 GA (Kay). 2017-10-02 11:09:17 +02:00
Mark Paluch
e0226e57b0 DATAKV-194 - Updated changelog. 2017-10-02 11:09:10 +02:00
Christoph Strobl
5643799128 DATAKV-196 - Polishing.
Update JavaDoc and fix trailing whitespaces.
Add and use dedicated factory for caching constructors for and instantiating AbstractQueryCreator.

Original Pull Request: #27
2017-09-27 14:30:01 +02:00
Mark Paluch
80b2285c18 DATAKV-196 - Open up configuration and repository components for extension.
Make SpelSortAccessor public. Introduce getMappingContextBeanRef() template method to KeyValueRepositoryConfigurationExtension so subclasses may specify the mapping context bean name. Introduce createQueryCreator() template method to KeyValuePartTreeQuery for query creator customization in subclasses.

Original Pull Request: #27
2017-09-27 14:29:00 +02:00
Christoph Strobl
7a89366075 DATAKV-197 - Polishing.
Update JavaDoc, fix trailing whitespace and add missing @Nullable annotations to methods potentially returning null values.

Original Pull Request:#28
2017-09-27 14:22:05 +02:00
Mark Paluch
83057f1288 DATAKV-197 - Introduce usage of nullable annotations for API validation.
Annotate all packages with Spring Frameworks @NonNullApi and @NonNullFields. Add Spring's @Nullable to methods, parameters and fields that take or produce null values. Adapted using code to make sure the IDE can evaluate the null flow properly. Fix Javadoc in places where an invalid null handling policy was advertised. Strengthened null requirements for types that expose null-instances.

Original Pull Request: #28
2017-09-27 14:21:31 +02:00
Mark Paluch
f1935f73b7 DATAKV-198 - Adapt to changed Spring Framework 5 documentation structure.
Update links in the reference docs to their new locations.
2017-09-27 14:09:26 +02:00
Oliver Gierke
0a61c6c675 DATAKV-190 - Prepare 2.0 RC3 (Kay). 2017-09-11 17:23:51 +02:00
Oliver Gierke
8818c7975d DATAKV-190 - Updated changelog. 2017-09-11 17:23:40 +02:00
Mark Paluch
0c01ac218e DATAKV-191 - Updated changelog. 2017-09-11 12:43:52 +02:00
Mark Paluch
f0b3fc2b98 DATAKV-192 - Polishing.
Reduce member visibility according type visibility. Adapt to required argument in KeyValueRepository.findAll(Pageable). Replace cast with type to Class.cast(…). Use lombok for for getters/setters in test code. Suppress warnings, formatting.

Original pull request: #26.
2017-08-02 10:15:58 +02:00
Christoph Strobl
0025c03e5a DATAKV-192 - Move codebase to Java8 API.
Make use of stream lambdas in query execution. Remove copy of MetaAnnotationUtils in favor of @AliasFor usage.

Original pull request: #26.
2017-08-02 10:05:11 +02:00
Oliver Gierke
871130b9dc DATAKV-188 - Updated changelog. 2017-07-27 00:48:48 +02:00
Mark Paluch
aa6dcb945c DATAKV-175 - Remove deprecated KeyValueQuery.getCritieria() method.
Related ticket: DATAKV-170.
2017-07-26 14:39:47 +02:00
Oliver Gierke
9bd8f4042f DATAKV-189 - Prepare 2.0 RC2 (Kay). 2017-07-25 15:33:32 +02:00
Oliver Gierke
019828d851 DATAKV-189 - Updated changelog. 2017-07-25 15:33:20 +02:00
Oliver Gierke
e792b833ab DATAKV-183 - Prepare 2.0 RC1 (Kay). 2017-07-25 09:48:01 +02:00
Oliver Gierke
0f39318284 DATAKV-183 - Updated changelog. 2017-07-25 09:47:49 +02:00
Oliver Gierke
231d39a376 DATAKV-182 - Updated changelog. 2017-07-24 22:20:34 +02:00
Mark Paluch
14da42ff15 DATAKV-187 - Polishing.
Remove Serializable ID constraints from factory beans. Replace casts with type.cast(…). Convert anonymous inner classes to lambdas. Remove unused code and casts. Simplify test entities by removing Serializable and using lombok. Letter casing, formatting, Javadoc.

Original pull request: #25.
2017-07-21 15:31:59 +02:00
Christoph Strobl
d6ee87ace5 DATAKV-187 - Remove restriction of ID type to be Serializable.
Original pull request: #25.
2017-07-21 15:31:47 +02:00
Christoph Strobl
8f5fa59386 DATAKV-186 - Polishing.
Add missing author information and split test.

Original Pull Request: #24
2017-07-20 10:49:16 +02:00
EugeneNik
c5e0d1a26c DATAKV-186 - SimpleKeyValueRepository.existsById(…) now evaluates findById(…) results properly.
ExistsById now evaluates Optional.isPresent() instead of comparing findById result to null.

Original Pull Request: #24
2017-07-20 10:48:08 +02:00
Christoph Strobl
256bb16dba DATAKV-185 - Polishing.
Fix NPE by now returning an expression that always resolves to true.
2017-07-04 22:02:14 +02:00
Mark Paluch
b99510b6e1 DATAKV-185 - Adapt to changes in SpEL parser. 2017-07-04 15:24:49 +02:00
Mark Paluch
9727c2c9a6 DATAKV-184 - Adapt to API changes in mapping subsystem. 2017-07-04 14:34:56 +02:00
Mark Paluch
27dce7016b DATAKV-178 - Prepare 2.0 M4 (Kay). 2017-06-14 17:03:00 +02:00
Mark Paluch
13ef97c1e3 DATAKV-178 - Updated changelog. 2017-06-14 17:02:57 +02:00
Mark Paluch
f218847ed5 DATAKV-174 - Updated changelog. 2017-06-08 11:56:18 +02:00
Mark Paluch
a4836f21ab DATAKV-173 - Updated changelog. 2017-06-07 12:23:33 +02:00
Oliver Gierke
97a84c3445 DATAKV-179 - Adapt to API changes in QuerydslPredicateExecutor.findOne(…).
Related ticket: DATACMNS-1059.
2017-05-19 10:48:58 +02:00
Mark Paluch
3aa93d0548 DATAKV-168 - Prepare 2.0 M3 (Kay). 2017-05-09 11:22:12 +02:00
Mark Paluch
8b69a5aa63 DATAKV-168 - Updated changelog. 2017-05-09 11:22:02 +02:00
Christoph Strobl
aa6e412602 DATAKV-176 - Adapt to API changes in repository interfaces.
We now follow a more consistent naming scheme for the methods in repository that are driven by the following guidelines:

* Methods referring to an identifier now all end on …ById(…).
* Methods taking or returning a collection are named …All(…)

Please see DATACMNS-944 for details.
2017-05-03 17:43:10 +02:00
Mark Paluch
3f21f10d78 DATAKV-170 - Fix KeyValue.getCriteria() method name.
Introduce KeyValue.getCriteria() method and deprecate KeyValue.getCritieria() for later removal. Use fixed method in affected classes.
2017-04-20 13:03:53 +02:00
Oliver Gierke
cc51ec8c47 DATAKV-172 - Updated changelog. 2017-04-19 21:04:08 +02:00
Oliver Gierke
5948d3690a DATAKV-171 - Updated changelog. 2017-04-19 20:01:40 +02:00
Oliver Gierke
8a1a096658 DATAKV-165 - Updated changelog. 2017-04-19 13:03:59 +02:00
Oliver Gierke
0ff6146515 DATAKV-164 - Updated changelog. 2017-04-19 11:50:41 +02:00
Mark Paluch
12301efd94 DATAKV-169 - Polishing.
Fix typo in test method names. Some minor language level cleanups and removal of deprecated API usage.

Original pull request: #23.
2017-04-18 09:39:14 +02:00
Christoph Strobl
f67a66bf25 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:38:58 +02:00
Oliver Gierke
979f3a33a8 DATAKV-161 - Updated changelog. 2017-04-10 14:36:45 +02:00
Oliver Gierke
8a97542b2f DATAKV-151 - Prepare 2.0 M2 (Kay). 2017-04-04 21:12:01 +02:00