Multiple choice technology programming languages

1) Does hibernate allow mixing table-per-class hierarchy and table-per-subclass strategies?

  1. a) Yes

  2. b) No

  3. c) can't say

  4. d) None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Hibernate requires choosing one inheritance strategy per hierarchy. You cannot mix table-per-class (union subclass) and table-per-subclass (joined subclass) within the same hierarchy. Each persistent hierarchy must use a single strategy.