Problem with InheritanceType.JOINED without own subtable
Problem with mapping 4 classes into 3 tables.
When I use “hbm.xml” for mapping it works fine.
But when I use annotations for mapping it does not work.
We tried using solution from discourse but it does not work (Test ignored with error "Foreign key circularity dependency involving the following tables: DATA_TYPE, DATA_TYPE")
If I try to use SimpleType without @Table(name="DATA_TYPE") then test passed but created extra table SimpleType
Detailed description: https://discourse.hibernate.org/t/inheritancetype-joined-without-own-subtable/5207
But when i tried to setup this configuration, it breaks, because it could not find table for SimpleType.