Beginner |
|
Joined: Thu Jun 07, 2007 2:38 am Posts: 28 Location: Italy, Rome
|
In our application we have this structure:
(1) inheritance hierarchy is :Table per concrete class with unions
(2) class B extends abstract class A
(3) B has an one-to-many relationship to A
While testing CRUD on B, there is an error that table A does not exist.
My questions are:
(A) why is Hibernate asking for table A? With the chosen inheritance type it shouldn't
(B) is the relationship in (3) valid?
(C) should we change inheritance hierarchy?
Please provide some light!
|
|