These are a few focus topics from your session 3 homework reading assignment coming up.

Chapter 11. Working with objects

Chapter 6. Types

Chapter 7. Collection mapping

  • As a requirement persistent collection-valued fields must be declared as an interface type
  • java.util.Set, java.util.Collection, java.util.List, java.util.Map, java.util.SortedSet, java.util.SortedMap

  • Hibernate will actually replace the interface with an instance of Hibernate’s own implementation of the interface.
  • Collection mapping uses @OneToMany and @JoinColumn
  • Collection mapping uses @OneToMany and @JoinTable

Chapter 8. Association Mappings

Chapter 9. Component Mapping