Hibernate 简介-Mason.pptVIP

  • 5
  • 0
  • 约3.13千字
  • 约 35页
  • 2016-11-28 发布于河南
  • 举报
Hibernate 简介-Mason

Note: If you define a Set of composite elements, it is very important to implement equals() and hashCode() correctly. (2) A composite element mapping doesnt support null-able properties if youre using a set. The three strategies Table per class hierarchy Table per subclass Table per concrete class In addition, Implicit polymorphism Exactly one table is required. There is one big limitation of this mapping strategy: columns declared by the subclasses, such as CCTYPE, may not have NOT NULL constraints. Four tables are required. The three subclass tables have primary key associations to the su

文档评论(0)

1亿VIP精品文档

相关文档