Christoph Strobl
6c745bd3be
Switch to Standard UUID representation.
...
Closes : #3932
Original pull request: #5034
4 months ago
Mark Paluch
2b4460701a
Polishing.
...
Extract Wrapped support to PersistentEntity for a central resolution of proxies before accessing their properties.
See #5031
Original pull request: #5033
4 months ago
Christoph Strobl
bcb40b1113
Unwrap `LazyLoadingProxy` before checking `isNew`.
...
Closes #5031
Original pull request: #5033
4 months ago
Mark Paluch
ebea7b5584
Prepare next development iteration.
...
See #4975
5 months ago
Mark Paluch
e1c15d0b56
Release version 5.0 M4 (2025.1.0).
...
See #4975
5 months ago
Mark Paluch
eba608ba86
Fix AOT evaluation code generation when method has no parameters.
...
See #5006
Original pull request: #5005
5 months ago
Mark Paluch
d9899c4ebf
Add AOT Integration test variant for PersonRepositoryIntegrationTests.
...
Add verification to ensure the same behavior of reflectively and AOT implemented query methods.
See #4961
5 months ago
Mark Paluch
8c94f3bc84
Add support for named queries.
...
Closes #4961
5 months ago
Mark Paluch
04d0d94244
Introduce factory methods for MongoDatabaseFactory for client lifecycle guidance.
...
We now expose create(…) methods returning either MongoDatabaseFactory when created with a client that doesn't publicly declare a destroy() method and create methods returning SimpleMongoClientDatabaseFactory when used with a connection string to indicate lifecycle-awareness for the internally created MongoClient.
See #5012
5 months ago
Mark Paluch
0bb302cb8e
Document client disposal using MongoDatabaseFactory.
...
Closes #5012
5 months ago
Mark Paluch
ebb7b58c32
Document how to create `MongoTemplate` and `MongoTransactionManager` for default transaction participation.
...
Refine documentation and indicate relationship to MongoDatabaseFactory.
Closes #5019
5 months ago
Mark Paluch
73ce59533a
Polishing.
...
Adopt rebase changes. Update documentation to reflect default changes.
Original pull request: #4957
See: #4920
5 months ago
Christoph Strobl
c4f936951c
Polishing.
...
Update tests to work with new defaults and move those with previous String defaulting into a new home.
Revise reference documentation.
Original pull request: #4957
See: #4920
5 months ago
Andrey Litvitski
71715dcaa6
Deprecate MongoCustomConversions.BigDecimalRepresentation.STRING.
...
Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
Original pull request: #4957
Closes : #4920
5 months ago
Mark Paluch
50de1d6a0e
Use consistently ParameterBindingDocumentCodec to parse queries and aggregations in AOT-generated code.
...
We now use ParameterBindingDocumentCodec instead of Document.parse(…) to reinstate lenient MQL parsing and to align with reflective behavior. Previously, we've used Document.parse(…) requiring a stricter syntax for e.g. values.
Closes #5018
5 months ago
Mark Paluch
4812760bcf
Polishing.
...
Refactor evaluation handling, align with JPA using MongoParameters and the originating Method. Add support for reactive GeoNear count. Hide Placeholder abstraction and create DocumentSerializer utility.
See #5004
Original pull request: #5005
5 months ago
Christoph Strobl
13921be82f
Retry flakey vector search tests.
...
Upgrade junit-pioneer along the way
5 months ago
Christoph Strobl
8f7fef4c5a
Introduce reusable code fragments for generating code.
...
See #5004
Original pull request: #5005
5 months ago
Christoph Strobl
053158b8d8
Add support for generating VectorSearch queries during AOT.
...
See #5004
Original pull request: #5005
5 months ago
Christoph Strobl
66653b9918
Add Collation to generated query if present.
...
See #5004
Original pull request: #5005
5 months ago
Christoph Strobl
bcd7e0531f
Support generating queries containing expressions during AOT.
...
Closes #5006
Original pull request: #5005
5 months ago
Christoph Strobl
b5fc92220e
Support generating geospatial queries during AOT.
...
Closes #5004
Original pull request: #5005
5 months ago
Christoph Strobl
b1ac55cb62
Update javadoc & switch method defaulting.
...
Closes #5010
Original pull request: #5015
5 months ago
Mark Paluch
61cbfb5a11
Polishing.
...
Introduce constants and test. Update documentation.
Original pull request: #5017
See #4983
5 months ago
Christoph Strobl
8a9e6bf178
Enable AOT repository generation by default.
...
Original pull request: #5017
Closes #4983
5 months ago
Christoph Strobl
7876b921a6
Move off deprecated API where possible.
...
See: #4990
5 months ago
Christoph Strobl
79570af7d6
Move off deprecated API in AOT support.
...
Closes : #4990
5 months ago
Christoph Strobl
c9fdd2ef18
Allow setting bucket maxSpan & rounding for time series collection.
...
See: #4985
5 months ago
Hyunsang Han
479d213b27
Add time series collection support to `$out` aggregation operation.
...
`$out` operation stage now supports creating time series collections with configurable time field, metadata field, and granularity options.
Closes : #4985
Original Pull Request: #4995
Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
5 months ago
Mark Paluch
e22a0d26c6
Polishing.
...
Consider listen port in addition to shell command.
See: #5013
Original pull request: #5014
5 months ago
Mark Paluch
925e3cdcad
Polishing.
...
Simplify tests by using JUnit's meta-annotation pickup of ExtendWith. Hide extensions.
See: #5013
Original pull request: #5014
5 months ago
Christoph Strobl
d43d6b062e
Introduce `@EnableIfVectorSearchAvailable` to wait and conditionally skip tests.
...
We now wait until a search index becomes available. If the search index doesn't come alive within 60 seconds, we skip that test (or test class).
Closes : #5013
Original pull request: #5014
5 months ago
Christoph Strobl
8fc6df0c95
Follow changes in data commons.
...
Adapt to new metadata rendering format.
See: #4939
6 months ago
Mark Paluch
6a0d882867
Polishing.
...
Reformat code, add since tags. Refine test names.
See #4403
Original pull request: #4976
6 months ago
Junhyeok Lee
431fc7f886
Enable auto-startup for `DefaultMessageListenerContainer`.
...
This change modifies DefaultMessageListenerContainer to automatically start when the Spring application context is initialized, by default.
The 'autoStartup' property defaults to true. A setter 'setAutoStartup(boolean)' has been added to allow users to disable this behavior if needed.
Closes #4403
Original pull request: #4976
Signed-off-by: Junhyeok Lee <jhl221123@naver.com>
6 months ago
Mark Paluch
2ecab81eb4
Polishing.
...
Fix author tags. Reorder methods, add since tags.
Extend reactive callbacks with configurable order.
See #4914
Original pull request: #4968
6 months ago
yangchef1
b9de7b47de
Allow customizing order for `AuditingEntityCallback` and `ValidatingEntityCallback`.
...
Closes #4914
Original pull request: #4968
Signed-off-by: yangchef1 <hc1489@naver.com>
6 months ago
Mark Paluch
313ee26c27
Polishing.
...
Replace if statement with ternary operator.
See #4994
6 months ago
michaldo
bcbdc71edb
Always include Collection tag in MongoDB observations.
...
Use default "none" collection name when command doesn't define a collection.
Signed-off-by: michaldo <michaldo@github.io>
Closes : #4994
6 months ago
Mark Paluch
ba15b53e4c
Polishing.
...
Fix test.
See #4988
Original pull request: #4992
# Conflicts:
# spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CollectionOptions.java
# spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/schema/QueryCharacteristics.java
7 months ago
Mark Paluch
96c2e710e6
Polishing.
...
Fix Javadoc, make QueryCharacteristics a Streamable for easier usage during mapping, reformat code for reduced nesting levels.
See #4988
Original pull request: #4992
7 months ago
Christoph Strobl
194746a9ed
Add support for non-queryable encrypted fields in `CollectionOptions`.
...
Closes #4988
Original pull request: #4992
7 months ago
Christoph Strobl
5d5e4748bf
Fix missing precision value when creating encryption settings.
...
Original pull request: #4993
Closes : #4989
7 months ago
Mark Paluch
fca17fc961
Polishing.
...
Guard Queryable Encryption tests against standalone server usage.
Original pull request: #4986
See #4969
7 months ago
Christoph Strobl
91f613749f
Update `$out` stage rendering to documented format.
...
This commit makes sure to use the documented command format when rendering the $out aggregation stage.
Original pull request: #4986
Closes #4969
7 months ago
Mark Paluch
4e53fa792e
Add `createCollection(…)` overload accepting a customizer function for `CollectionOptions`.
...
Original Pull Request: #4979
7 months ago
Mark Paluch
172a7d1940
Document `createCollection(…)` annotation usage.
...
Update documentation.
Closes : #4978
Original Pull Request: #4979
7 months ago
Christoph Strobl
d7ff6b1b66
Initialize Lists holding GeoJson coordinates with size where possible.
...
See: #4904
7 months ago
정보교 (Bogus Jung)
532dd289ed
Improve ArrayList capacity allocation in GeoJson.
...
Closes : #4904
Original Pull Request: #4905
Signed-off-by: 정보교 (Bogus Jung) <bogusjung0317@gmail.com>
7 months ago
Hyunsang Han
c57581f6d2
Change return type of UpdateDefinition.isIsolated to primitive.
...
Switch return from Boolean to boolean.
Closes : #4922
Original Pull Request: #4981
Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
7 months ago