Skip to content

Improve exception message when deriving collection name from type fails. #4062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

christophstrobl
Copy link
Member

Closes: #4061

We now provide a better worded exception message when trying to derive the collection name for a type that is not considered a user types (such as org.bson.Document).
Update the Javadoc to hint to the error.
mp911de pushed a commit that referenced this pull request Sep 16, 2022
We now provide a better worded exception message when trying to derive the collection name for a type that is not considered a user types (such as org.bson.Document).
Update the Javadoc to hint to the error.

Closes #4061
Original pull request: #4062.
mp911de added a commit that referenced this pull request Sep 16, 2022
See #4061
Original pull request: #4062.
mp911de pushed a commit that referenced this pull request Sep 16, 2022
We now provide a better worded exception message when trying to derive the collection name for a type that is not considered a user types (such as org.bson.Document).
Update the Javadoc to hint to the error.

Closes #4061
Original pull request: #4062.
mp911de added a commit that referenced this pull request Sep 16, 2022
See #4061
Original pull request: #4062.
mp911de pushed a commit that referenced this pull request Sep 16, 2022
We now provide a better worded exception message when trying to derive the collection name for a type that is not considered a user types (such as org.bson.Document).
Update the Javadoc to hint to the error.

Closes #4061
Original pull request: #4062.
mp911de added a commit that referenced this pull request Sep 16, 2022
See #4061
Original pull request: #4062.
@mp911de mp911de added the type: enhancement A general enhancement label Sep 16, 2022
@mp911de mp911de added this to the 3.3.7 (2021.1.7) milestone Sep 16, 2022
@mp911de mp911de added type: documentation A documentation update and removed type: enhancement A general enhancement labels Sep 16, 2022
@mp911de mp911de closed this Sep 16, 2022
@mp911de mp911de deleted the issue/4061 branch September 16, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MongoTemplate.findAndReplace throws Couldn't find PersistentEntity for type class org.bson.Document!
2 participants