Let’s consider a hierarchy of entities : Data ← StoredData ← ContinuousStoredData, where the root Data entity has a ManyToMany with a Tag entity. Querying, using the criteria API, the ContinuousStoredData entity with a predicate such as the following one:
leads to an AssertionError with the following stack trace:
The bug did not happen in 6.2.5, and it doesn’t happen when querying a direct subclass of the root Data entity (as shown in the attached repro) |