18. Relationships in Object-Relational Mapping [toc] 18.1. Types of Relationships 🧜♀️ Mermaid: 18.1.1. One-to-One 18.1.2. One-to-Many and Many-to-One 18.1.3. Many-to-Many 18.1.4. Check Your Understanding ✅ 18.2. Creating a Many-to-One Relationship 18.2.1. Creating an AbstractEntity - Video 🎞️ 18.2.2. Creating an AbstractEntity - Text 📄 18.2.3. Setting Up the Relationship - Video 🎞️ 18.2.4. Setting Up the Relationship - Text 📄 18.2.4.1. Replacing EventType With EventCategory 18.2.4.2. Testing and Database Updates 18.2.5. Check Your Understanding ✅ 18.3. Creating a One-to-Many Relationship 18.3.1. Setting Up the Relationship - Video 🎞️ 18.3.2. Setting Up the Relationship - Text 📄 18.3.2.1. Model Configuration 18.3.2.2. Controller Updates 18.3.2.3. Linking to Filtered Views 18.3.3. Check Your Understanding ✅ 18.4. Creating a One-to-One Relationship 18.4.1. Creating a One-to-One Relationship - Video 🎞️ 18.4.2. Creating a One-to-One Relationship - Text 📄 18.4.2.1. The EventDetails Class 18.4.2.2. Relating EventDetails to Event 18.4.2.3. Template Updates 18.4.2.4. Cascading ORM Operations 18.4.2.5. The Inverse Relationship 18.4.3. Check Your Understanding 18.5. Creating a Many-to-Many Relationship 18.5.1. Persistent Tags - Video 🎞️ 18.5.2. Persistent Tags - Text 📄 18.5.3. Creating a Many-to-Many Relationship - Video 🎞️ 18.5.4. Creating a Many-to-Many Relationship - Text 📄 18.5.5. Many-to-Many Forms and Data Transfer Objects - Video 🎞️ 18.5.6. Many-to-Many Forms and Data Transfer Objects - Text 📄 18.5.6.1. Data Transfer Objects (DTO) 18.5.6.2. Connecting Two Objects 18.5.6.3. Join Tables 18.5.7. Check Your Understanding ✅ 18.6. Exercises: The Early Bird Gets the ORM! 🏃 #Java