You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using @Where on an entity or a repository, the @Where clause should be appended to the query generated by a repository method that overrides the base methods.
Example for a method overriding the built-in findById-Method:
When overriding a repository method like in the exampel above, the @Where clause is not appended to the query generated by the findById-Method. That worked with micronaut-data 3.0.2.
Expected Behavior
When using
@Where
on an entity or a repository, the@Where
clause should be appended to the query generated by a repository method that overrides the base methods.Example for a method overriding the built-in findById-Method:
Actual Behaviour
When overriding a repository method like in the exampel above, the
@Where
clause is not appended to the query generated by the findById-Method. That worked with micronaut-data 3.0.2.Steps To Reproduce
@Where
on the entity and on the repository.Environment Information
Example Application
https://github.com/flip-corp/micronaut-bugreports-demo/tree/override_with_where_on_repo_does_not_work
Version
micronaut 3.2.0 and micronaut-data 3.2.1
The text was updated successfully, but these errors were encountered: