exxcellent / 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
6 stars 3 forks source link

Support Interface+'targetClass' declaration in Relationship annotations #22

Closed rzozmann closed 4 years ago

rzozmann commented 4 years ago

Several frameworks (like plexx) do not use implementation classes for targets of relationships. In the model only interfaces are used and only the @OneToMany etc. annotation contains a 'targetClass' declaration defining the real implementation class. We should support such scenarios: