UsefulLinks
Computer Science
Java Ecosystem
Hibernate
1. Introduction to Object-Relational Mapping
2. Hibernate Overview
3. Hibernate Architecture
4. Project Setup and Configuration
5. Entity Mapping Fundamentals
6. Association Mapping
7. Fetching Strategies
8. Cascade Operations
9. Entity Lifecycle and Persistence Context
10. CRUD Operations
11. Transaction Management
12. Querying with HQL
13. JPQL and Criteria API
14. Native SQL Queries
15. Inheritance Mapping
16. Caching Architecture
17. Advanced Hibernate Features
18. Performance Optimization
19. Best Practices and Common Patterns
8.
Cascade Operations
8.1.
Cascading Concepts
8.1.1.
Cascade Propagation
8.1.2.
Parent-Child Relationships
8.1.3.
Lifecycle Synchronization
8.2.
Cascade Types
8.2.1.
CascadeType.PERSIST
8.2.2.
CascadeType.MERGE
8.2.3.
CascadeType.REMOVE
8.2.4.
CascadeType.REFRESH
8.2.5.
CascadeType.DETACH
8.2.6.
CascadeType.ALL
8.3.
Orphan Removal
8.3.1.
orphanRemoval Attribute
8.3.2.
Automatic Cleanup
8.3.3.
Use Cases and Limitations
8.4.
Cascade Best Practices
8.4.1.
Appropriate Cascade Usage
8.4.2.
Performance Considerations
8.4.3.
Data Integrity
Previous
7. Fetching Strategies
Go to top
Next
9. Entity Lifecycle and Persistence Context