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 78 forks source link

$expand with $count fails when having a join table #376

Open wog48 opened 2 weeks ago

wog48 commented 2 weeks ago

When trying to get the number of expand entities e.g., .../entitySet?$expand=navigation($count=true), the service response with a http 500. The error message states:

ON condition right attribute is null / not found.

dbhandari555 commented 2 weeks ago

Can you please provide an example for the above mentioned scenario using the entities defined in sap-jpa project? I can't reproduce the issue. For example, I tried Organizations?$expand=Roles($count=true) and it succeeds without error.