Skip to content
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

ExampleMatcher.PropertySpecifiers does not implement equals/hashCode [DATACMNS-900] #1358

Closed
spring-projects-issues opened this issue Aug 25, 2016 · 0 comments
Assignees
Labels
in: core type: bug

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Aug 25, 2016

Tor-Einar Jarnbjo opened DATACMNS-900 and commented

The class ExampleMatcher.PropertySpecifiers does not implement equals/hashCode. Since an ExampleMatcher and its PropertySpecifiers are referenced by an Example instance, this means that it is not possible to mock the implementation of repository methods taking an Example as argument, e.g. JpaRepository.findAll(Example)


Affects: 1.12.2 (Hopper SR2)

Referenced from: pull request #175

Backported to: 1.12.3 (Hopper SR3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core type: bug
Projects
None yet
Development

No branches or pull requests

2 participants