Auto-indexing in Jandex of classes referenced from Hibernate ORM entities/embedables/XML mappings/etc. #17285
Labels
area/hibernate-orm
Hibernate ORM
area/persistence
OBSOLETE, DO NOT USE
kind/enhancement
New feature or request
Milestone
Description
See #14762 (comment)
When the Hibernate ORM extension encounters a class that is not in the Jandex index, we get this:
This can happen for example if a class is referenced from an XML mapping file (#16630), or if a class is indirectly referenced from an entity getter (even if the entity class itself is in the Jandex index).
Can we improve the situation and index the corresponding artifact automatically, whenever we detect such a class is missing from the Jandex index?
Implementation ideas
None at the moment.
The text was updated successfully, but these errors were encountered: