Hibernate 3 - Inheritance Strategies

Table per concrete class Questions in this category test your knowledge on
  • how to map a polymorphic association
  • the SQL generated if a polymorphic query is issued
Table per concrete class with UNION Questions in this category test your knowledge on :
  • your ability to detect if a given DB schema can be mapped using this strategy
  • mapping element to use : <union-subclass> and their allowed content
  • id strategy constraints
  • how to map a polymorphic association
  • what is the SQL generated if a polymorphic query is issued
Table per subclass with discriminator strategy Questions in this category test your knowledge on :
  • your ability to detect if a given DB schema can be mapped using this strategy
  • mapping elements to use : <discriminator/> <subclass/> <join/> <key/> and their allowed content
  • how to map a polymorphic association
  • what is the SQL generated if a polymorphic query is issued
Table per subclass strategy

Questions in this category test your knowledge on :

  • your ability to detect if a given DB schema can be mapped using this strategy
  • mapping elements to use : <joined-subclass/> <key/> and their allowed content
  • how to map a polymorphic association
  • what is the SQL generated if a polymorphic query is issued

Table per class hierarchy strategy Questions in this category test your knowledge on :
  • your ability to detect if a given DB schema can be mapped using this strategy
  • mapping elements to use : <subclass/> <key/> and their allowed content
  • how to map a polymorphic association
  • what is the SQL generated if a polymorphic query is issued

你可能感兴趣的:(sql,Hibernate)