Polymorphic "derivedFrom" definition for derived properties

Description

See https://discourse.hibernate.org/t/indexingdependency-for-abstract-method/4996/5

In some cases, an abstract property is mapped to a field, and that property is derived differently in each concrete type.

We should be able to define @IndexingDependency(derivedFrom = ...)) differently for each concrete type.

Some quick testing reveals that it already works for properties at the root of an indexed entity, but I suspect it won't work when the derived property is in an @IndexedEmbedded. We should test that and make it work.

I started implementing some tests here:

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created February 3, 2021 at 9:47 AM
Updated September 23, 2021 at 7:39 AM
Resolved March 12, 2021 at 2:39 PM