Christoph Strobl
4ebcac19bc
DATAMONGO-1860 - Polishing.
...
Fix references to QuerydslPredicateExecutor.
Original Pull Request: #529
2018-02-14 13:36:17 +01:00
Mark Paluch
78212948bc
DATAMONGO-1860 - Polishing.
...
Fix type references in Javadoc. Change lambdas to method references where applicable.
Original Pull Request: #529
2018-02-14 13:36:17 +01:00
Mark Paluch
38575baec1
DATAMONGO-1860 - Retrieve result count via QuerydslMongoPredicateExecutor only for paging.
...
We now use AbstractMongodbQuery.fetch() instead of AbstractMongodbQuery.fetchResults() to execute MongoDB queries. fetchResults() executes a find(…) and a count(…) query. Retrieving the record count is an expensive operation in MongoDB and the count is not always required. For regular find(…) method, the count is ignored, for paging the count(…) is only required in certain result/request scenarios.
Original Pull Request: #529
2018-02-14 13:36:17 +01:00
Mark Paluch
f1a3c37a79
DATAMONGO-1865 - Polishing.
...
Adapt to collection name retrieval during query execution. Slightly reword documentation and JavaDoc.
Original pull request: #530 .
2018-02-14 12:01:44 +01:00
Christoph Strobl
c668a47243
DATAMONGO-1865 - Avoid IncorrectResultSizeDataAccessException for derived findFirst/findTop queries.
...
We now return the first result when executing findFirst/findTop queries. This fixes a glitch introduced in the Kay release throwing IncorrectResultSizeDataAccessException for single entity executions returning more than one result, which is explicitly not the desired behavior in this case.
Original pull request: #530 .
2018-02-14 12:01:44 +01:00
Mark Paluch
6a20ddf5a2
DATAMONGO-1871 - Polishing.
...
Migrate test to AssertJ.
Original pull request: #533 .
2018-02-14 11:05:20 +01:00
Christoph Strobl
cec6526543
DATAMONGO-1871 - Fix AggregationExpression aliasing.
...
We now make sure to allow a nested property alias by setting the target.
Original pull request: #533 .
2018-02-14 11:05:17 +01:00
Oliver Gierke
46ea58f3b9
DATAMONGO-1872 - Polishing.
...
Fixed @since tag for newly introduced method in MongoEntityMetadata.
2018-02-13 12:24:09 +01:00
Oliver Gierke
ebaea8d22f
DATAMONGO-1872 - Repository query execution doesn't prematurely fix collection to be queried.
...
We now avoid calling ….inCollection(…) with a fixed, one-time calculated collection name to make sure we dynamically resolve the collections. That's necessary to make sure SpEL expressions in @Document are evaluated for every query execution.
2018-02-13 12:18:19 +01:00
Christoph Strobl
ed6aaeed25
DATAMONGO-1794 - Updated changelog.
2018-02-06 11:14:01 +01:00
Mark Paluch
89b1b6fbb2
DATAMONGO-1830 - After release cleanups.
2018-01-24 13:46:10 +01:00
Mark Paluch
23769301b5
DATAMONGO-1830 - Prepare next development iteration.
2018-01-24 13:46:08 +01:00
Mark Paluch
3399160acf
DATAMONGO-1830 - Release version 2.0.3 (Kay SR3).
2018-01-24 13:21:24 +01:00
Mark Paluch
32a8ee9b31
DATAMONGO-1830 - Prepare 2.0.3 (Kay SR3).
2018-01-24 13:20:39 +01:00
Mark Paluch
17cea70abc
DATAMONGO-1830 - Updated changelog.
2018-01-24 13:20:34 +01:00
Mark Paluch
07731c39ba
DATAMONGO-1858 - Fix line endings to LF.
2018-01-24 12:57:24 +01:00
Mark Paluch
c5b580b82b
DATAMONGO-1829 - Updated changelog.
2018-01-24 12:22:10 +01:00
Mark Paluch
9a1385186e
DATAMONGO-1843 - Polishing.
...
Convert anonymous classes to lambdas. Typo fixes. Migrate test to AssertJ.
Original pull request: #526 .
2018-01-23 10:34:46 +01:00
Christoph Strobl
704524d7f4
DATAMONGO-1843 - Fix parameter shadowing in ArrayOperators reduce.
...
Original pull request: #526 .
2018-01-23 10:34:35 +01:00
Christoph Strobl
cc9a3ac8da
DATAMONGO-1850 - Polishing.
...
Remove blank line, add tests and migrate to AssertJ.
Original Pull Request: #527
2018-01-22 16:16:52 +01:00
Mark Paluch
acb68f3ca4
DATAMONGO-1850 - Guard GridFsResource.getContentType() against absent file metadata.
...
We now consider fall back to GridFS.getContentType() if GridFS metadata is absent to prevent null dereference.
Original Pull Request: #527
2018-01-22 15:14:35 +01:00
Mark Paluch
3088f0469e
DATAMONGO-1824 - Polishing.
...
Move method from AggregationCommandPreparer and AggregationResultPostProcessor to BatchAggregationLoader. Extract field names to constants. Tiny renames to variables. Add unit test for aggregation response without cursor use. Migrate test to AssertJ.
Original pull request: #521 .
2017-12-15 14:30:24 +01:00
Christoph Strobl
a1ae04881d
DATAMONGO-1824 - Skip tests no longer applicable for MongoDB 3.6.
...
Original pull request: #521 .
2017-12-15 14:25:31 +01:00
Christoph Strobl
6f55c66060
DATAMONGO-1824 - Fix aggregation execution for MongoDB 3.6.
...
We now send aggregation commands along a cursor batch size for compatibility with MongoDB 3.6 that no longer supports aggregations without cursor. We consume the whole cursor before returning and converting results and omit the 16MB aggregation result limit. For MongoDB versions not supporting aggregation cursors we return results directly.
Original pull request: #521 .
2017-12-15 14:25:20 +01:00
Christoph Strobl
f86447bd04
DATAMONGO-1831 - Fix array type conversion for empty source.
...
We now make sure that we convert empty sources to the corresponding target type. This prevents entity instantiation from failing due to incorrect argument types when invoking the constructor.
Original pull request: #520 .
2017-12-02 12:18:55 -08:00
Mark Paluch
1bb4324b2e
DATAMONGO-1816 - After release cleanups.
2017-11-27 16:42:54 +01:00
Mark Paluch
856506f121
DATAMONGO-1816 - Prepare next development iteration.
2017-11-27 16:42:52 +01:00
Mark Paluch
2a81dc75a8
DATAMONGO-1816 - Release version 2.0.2 (Kay SR2).
2017-11-27 16:12:34 +01:00
Mark Paluch
58cd4c08ca
DATAMONGO-1816 - Prepare 2.0.2 (Kay SR2).
2017-11-27 16:11:21 +01:00
Mark Paluch
344e019143
DATAMONGO-1816 - Updated changelog.
2017-11-27 16:11:15 +01:00
Mark Paluch
918b7e96bb
DATAMONGO-1799 - Updated changelog.
2017-11-27 15:58:45 +01:00
Christoph Strobl
fce7a5c1cb
DATAMONGO-1818 - Polishing.
...
Move overlapping/duplicate documentation into one place.
Original Pull Request: #512
2017-11-27 07:53:22 +01:00
Mark Paluch
dbd2de8e0f
DATAMONGO-1818 - Reword tailable cursors documentation.
...
Fix reference to @Tailable annotation. Slightly reword documentation.
Original Pull Request: #512
2017-11-27 07:53:08 +01:00
Mark Paluch
0dbe331ab0
DATAMONGO-1823 - Polishing.
...
Replace constructor with lombok's RequiredArgsConstructor. Add Nullable annotation. Tiny reformatting. Align license header. Migrate test to AssertJ.
Original pull request: #517 .
2017-11-22 14:33:20 +01:00
Christoph Strobl
846ebcd91d
DATAMONGO-1823 - Emit ApplicationEvents using projecting find methods.
...
We now again emit application events when using finder methods that apply projection.
Original pull request: #517 .
2017-11-22 14:33:20 +01:00
Oliver Gierke
9e0b5caeac
DATAMONGO-1737 - BasicMongoPersistentEntity now correctly initializes comparator.
...
In BasicMongoPersistentEntity.verify() we now properly call the super method to make sure the comparators that honor the @Field's order value are initialized properly.
2017-11-17 14:55:00 +01:00
Mark Paluch
cf70f5e5eb
DATAMONGO-1819 - Polishing.
...
Use native field names for NamedMongoScript query instead of relying on metadata-based mapping as NamedMongoScript is considered a simple top-level type.
Related pull request: #513 .
2017-11-17 13:49:06 +01:00
Mark Paluch
331dc6df6f
DATAMONGO-1821 - Fix method ambiguity in tests when compiling against MongoDB 3.6
2017-11-07 12:47:51 +01:00
Mark Paluch
a51dce2c90
DATAMONGO-1820 - Set Mongo's Feature Compatibility flag for TravisCI build to 3.4.
...
Apply setFeatureCompatibilityVersion to upgrade MongoDB to 3.4 features.
2017-11-06 10:28:10 +01:00
Mark Paluch
c0cf1aa95b
DATAMONGO-1817 - Polishing.
...
Remove blank line.
Original pull request: #510 .
2017-11-06 10:02:35 +01:00
Sola
7104ffa543
DATAMONGO-1817 - Align nullability in Kotlin MongoOperationsExtensions with Java API.
...
Return types in MongoOperationsExtensions are now aligned to the nullability of MongoOperations.
Original pull request: #510 .
2017-11-06 10:02:35 +01:00
Oliver Gierke
28d2fb6680
DATAMONGO-1793 - After release cleanups.
2017-10-27 15:50:48 +02:00
Oliver Gierke
140e26946f
DATAMONGO-1793 - Prepare next development iteration.
2017-10-27 15:50:45 +02:00
Oliver Gierke
f4e730ce87
DATAMONGO-1793 - Release version 2.0.1 (Kay SR1).
2017-10-27 15:25:11 +02:00
Oliver Gierke
e3a83ebc42
DATAMONGO-1793 - Prepare 2.0.1 (Kay SR1).
2017-10-27 15:24:24 +02:00
Oliver Gierke
f65c1e324e
DATAMONGO-1793 - Updated changelog.
2017-10-27 15:24:14 +02:00
Oliver Gierke
1dd0061f03
DATAMONGO-1815 - Adapt API changes in Property in test cases.
2017-10-27 11:13:31 +02:00
Mark Paluch
5ea860700c
DATAMONGO-1814 - Update reference documentation for faceted classification.
...
Original pull request: #426 .
Original ticket: DATAMONGO-1552.
2017-10-26 09:44:50 +02:00
Christoph Strobl
3dd653a702
DATAMONGO-1811 - Update documentation of MongoOperations.executeCommand.
...
Update Javadoc and reference documentation.
2017-10-24 14:59:47 +02:00
Christoph Strobl
f87847407b
DATAMONGO-1805 - Update GridFsOperations documentation.
...
Fix return type in reference documentation and update Javadoc.
2017-10-24 14:59:40 +02:00