Generated entity.index package causes package split in modular 9+ applications
Description
Activity
Show:

Gavin King February 17, 2025 at 4:16 PM
User has not responded with a reproducer after three months. Closing.

Andrzej Martynowicz December 20, 2024 at 8:23 AM
Ok, will provide

Christian Beikov December 17, 2024 at 11:26 AM
Please provide a reproducer application that shows this issue.
Cannot Reproduce
Details
Details
Assignee
Unassigned
UnassignedReporter

Labels
Components
Affects versions
Priority
Created November 29, 2024 at 10:29 AM
Updated February 17, 2025 at 4:16 PM
Resolved February 17, 2025 at 4:16 PM
When working with multiple mavvn modules which are utilizing hibernate generated classes, hibearnate generates entity.index package as a root package, instead of using java module package (as it is for Entity classes).
When this package (entity.index) is generated in two separate maven modules, following error will be disaplyed when trying to run application/junit test:
This is known as java “split package” problem