Grails Domain Class Relationships

Topics 

  • Domain class relationships (associations) 
  • Cardinality relationships
    • One-to-one 
    • One-to-many 
    • Many-to-many 
  • Cascading updates and deletes 
  • Eager and Lazy fetching 
  • Composition relationship 
  • Inheritance relationship

Domain Class Relationships (Associations)

What are Relationships (Associations)? 

  • Relationships define how domain classes interact with each other
  • Types of relationships 
    • Cardinality relationship 
      • One-to-One 
      • One-to-Many
      • Many-to-Many 
    • Directional relationship 
    • Inheritance relationship

You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.