Link Details

Link 868831 thumbnail
User 966553 avatar

By gregorin
Published: Oct 26 2012 / 08:13

The problem of inheritance in the db and mapping it to Hibernate has been discussed in many ways but it is not common that the names of the foreign keys are not equal to the name of the primary key. In this post I'm presenting the way it should be delt with as far as table per subclass inheritance is concerned.
  • 5
  • 0
  • 694
  • 410

Add your comment


Voters For This Link (5)

Voters Against This Link (0)

    Written by: Bert Belder
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Debugging JavaScript
    2. OO JS
    3. JSON
    4. Ajax
    5. REST