SAP / olingo-jpa-processor-v4

The JPA Processor fills the gap between Olingo V4 and the database, by providing a mapping between JPA metadata and OData metadata, generating queries and supporting the entity manipulations.
Apache License 2.0
122 stars 76 forks source link

Not able to filter on entity basis. #213

Closed keshavsahu10 closed 8 months ago

keshavsahu10 commented 1 year ago

Hi, I am not able to filter on entity basis whereas i am able to retreive primitive attribute basis for ne null. Eg. A entity and B entity are related to eachother on OneToOne mapping, when i fire below query Query : odata/A?$filter=B ne null , i am getting below error "error": { "code": null, "message": "Index 0 out of bounds for length 0" } Same query work on id(primitive attribute basis) Query : odata/A?$filter=B_id ne null

wog48 commented 8 months ago

The issue should be solved with version 1.1.1. In case the problem still exists, reopen the issue