Inheritance Issue

Description

I got an issue with entities that implement inheritance. Apparently the relationship between EntityB and EntityC is not set correctly (see code below). Same thing works with EclipseLink. I attach the project. Interstingly, if you use Neo4J embedded, you get a nullpointer exception, whereas using bold leads to the indexotofbound exception.

Environment

Windows 10/Neo4J

Activity

Show:
Davide D'Alto
December 7, 2018, 2:06 AM

Thanks for the tests, I'm looking into this.

The issue occurs because the Neo4j embedded dialect sees the getEBs() relationship with EntityA instead of EntityB. This happens because
the association is declared in the super class. instead of the EntityB entity.

This is clearly a bug but it seems to work fine with the remote dialects.

Assignee

Unassigned

Reporter

Markus (axxelia)

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Major