Comments (2)
Thank you @boly38 for getting in touch. Spring Data MongoDB is mainly operating upon the java domain model and does not necessarily have the same behaviour as when using the Mongo Shell. That being said, PropertyPath
is used as an abstraction to navigate within the domain model. Therefore it is not tied to any MongoDB specifics.
The different behaviour is due to how the path is split into parts using camel case detection.
From what I understand is that you are storing data in MongoDB, using keys that contain leading whitespaces like the following right?
{
"_id": "...",
"name": "docA",
"properties": {
" Major": "blob"
}
}
I think we'll have to deal with this issue both here (path resolution) and in data-mongo (handling of fields containing whitespaces).
from spring-data-commons.
See also spring-projects/spring-data-mongodb#4516
from spring-data-commons.
Related Issues (20)
- Switch to Broadcom docker proxy
- Investigate registering the target type of reading converters as simple types
- Kotlin lazy property identified as persistent entity HOT 4
- WarningMixing/WrappingMixing in PageModule overrides user defined Jackson annotations. HOT 2
- ConcurrentModificationException for registerEvent in TransactionalEventListener HOT 4
- @EnableSpringDataWebSupport not working in native image HOT 2
- Conversion of jMolecules `Identifier` implementations to primitive fails with Spring Data JDBC HOT 7
- PageableHandlerMethodArgumentResolverSupport still uses page, size as the default parameter names
- Release 3.2.9 (2023.1.9)
- Release 3.3.3 (2024.0.3)
- Custom Repository returns `Optional` as return type for `T` HOT 1
- Introduce `Parameter.getRequiredName()` method
- Thread Pinning in `Repositories#cacheRepositoryFactory()` HOT 1
- Add support for interface projection using Kotlin "is"-properties HOT 4
- Bundle Javadoc with Antora documentation site
- `IndexOutOfBoundsException` on `KotlinCopyMethod.shouldUsePublicCopyMethod(…)` when saving single-property Kotlin data class with Association HOT 1
- Upgrade to Maven Wrapper 3.9.8
- Upgrade to Maven Wrapper 3.9.8
- Upgrade to Maven Wrapper 3.9.8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-data-commons.