Re: OpenJPA2.3.0 - Fail to find object with multiple collection + reverse mapping of polymorphic objects + EAGER-FETCHING

2018-11-03 Thread Mark Struberg
do you mind to share the entities? LieGrue,strub On Friday, 2 November 2018, 12:31:20 CET, Stephane Passignat wrote: Hello, When a class (Product) have 2 collections (I only checked with reversed mapping) of concrete objects (one of MecanicalFeature and one of ElectricalFeature)

OpenJPA2.3.0 - Fail to find object with multiple collection + reverse mapping of polymorphic objects + EAGER-FETCHING

2018-11-02 Thread Stephane Passignat
Hello, When a class (Product) have 2 collections (I only checked with reversed mapping) of concrete objects (one of MecanicalFeature and one of ElectricalFeature) inheriting from a common class (Feature), finding an existing Product fails (return null). Here is a class diagram :