Skip to content

DATACOUCH-1055 - Queries on field annotated props have orig name.#1056

Closed
mikereiche wants to merge 1 commit intomasterfrom
datacouch_1055_queries_on_field_annotated_properties_have_original_name
Closed

DATACOUCH-1055 - Queries on field annotated props have orig name.#1056
mikereiche wants to merge 1 commit intomasterfrom
datacouch_1055_queries_on_field_annotated_properties_have_original_name

Conversation

@mikereiche
Copy link
Copy Markdown
Contributor

Queries on field annotated properties have original name.

They should use getFieldName() which will use the annotated if it exists.

  • You have read the Spring Data contribution guidelines.
  • There is a ticket in the bug tracker for the project in our JIRA.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

…name.

Queries on field annotated properties have original name.

They should use getFieldName() which will use the annotated if it exists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

For properties saved by a different name with @Field annotation, query predicates are on the original name.

1 participant