Friday, December 1, 2017

JPA

  • mapped superclass should be represented as abstract classes in Java. 
  • super classes that represent partial state  should better be represented as abstract classes
  • single table inheritance is the best strategy
  • In single table inheritance mapping the subclasses do not require to have id fields.

No comments:

Post a Comment