-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fixed validation listener to use basically the same code as in Mappin… #346
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
||
if (!violations.isEmpty()) { | ||
|
||
LOG.info("During object: {} validation violations found: {}", source, violations); | ||
LOG.info("During object: {} validation violations found: {}", target, violations); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unclean but didn't changed --> Logging + Throwing an Exception which may cause double logging of the same Exception / Problem.
…tation. We now resolve aliased attribute values when reading @document on entity types. This allows creation of composed annotations like: @retention(RetentionPolicy.RUNTIME) @target({ ElementType.TYPE }) @document static @interface ComposedDocumentAnnotation { @AliasFor(annotation = Document.class, attribute = "collection") String name() default "custom-collection-name"; } Original pull request: spring-projects#347. Related issue: DATACMNS-825.
Added method, field and annotation target to @field annotation explicitly. Fixed copyright date ranges where needed. Tweaked formatting in test cases. Original pull request: spring-projects#347. Related ticket: DATACMNS-825.
…late.geoNear(…). Original pull request: spring-projects#348.
Switched to Slf4J-native placeholder replacement in debug logging for MongoTemplate. Original pull request: spring-projects#348.
We changed BasicQuery to consider its parent getFieldsObject() when not given an explicit fields DBObject. Original Pull Request: spring-projects#345 CLA: 165520160303021604 (John Willemin)
Added a few more tests and append values if present on Query. Original Pull Request: spring-projects#345
An explorative approach to QBE trying find possibilities and limitations. We now support querying documents by providing a sample of the given object holding compare values. For the sake of partial matching we flatten out nested structures so we can create different queries for matching like: { _id : 1, nested : { value : "conflux" } } { _id : 1, nested.value : { "conflux" } } This is useful when you want so search using a only partially filled nested document. String matching can be configured to wrap strings with $regex which creates { firstname : { $regex : "^foo", $options: "i" } } when using StringMatchMode.STARTING along with the ignoreCaseOption. DBRefs and geo structures such as Point or GeoJsonPoint is converted to their according structure. Related tickets: DATACMNS-810. Original pull request: spring-projects#341.
Adopt changes from query by example API refactoring. Related tickets: DATACMNS-810. Original pull request: spring-projects#341.
Adapt to API changes in Spring Data Commons. Related tickets: DATACMNS-810. Original pull request: spring-projects#341.
Tweaked section anchor to match conventions. Use level offsets to accommodate changes in Spring Data Commons.
…ons. Related tickets: DATACMNS-818.
Created a new one with test #350 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…gMongoConverter
see: http://sterl.org/2016/03/spring-data-mongodb-jsr-validation/
Issue: https://jira.spring.io/browse/DATAMONGO-1393