-
Notifications
You must be signed in to change notification settings - Fork 378
DATAJDBC-584 - Allow sort by entity's child field #241
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
Conversation
DATAJDBC-561 - Fix link to code of conduct.
DATAJDBC-586 - Guard JdbcRepositoryFactoryBean against setting null values for properties
…nverter in FindAllByPath
…ustom converter in FindAllByPath" This reverts commit f408369.
schauder
left a comment
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.
Apart from the inline comment I'd like to see integration tests, demonstrating that it
- works for 1:1 references
- for embedded references.
and a tests ensuring it produces a sensible exception when one tried to use on non existing properties or one-to-many properties.
| } | ||
|
|
||
| @Test // DATAJDBC-101 | ||
| @Test // DATAJDBC-101, DATAJDBC-584 |
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.
I'd prefer to have a separate test case for this. It makes it easier to understand what is going wrong in case of a test failure.
|
@schauder I think we can close this PR, this issue have been already solved by this PR |
|
I think you are right. |
Allow sort to accept entity's child field. eg: person.address.zipCode