How do I configure TopLink to delete objects when an owner object is deleted (i.e., cascade delete)?
Objects whose lifecycle is coupled to their owner are called “privately owned” objects in TopLink. Privately owned objects are deleted when their parent is deleted. The configuration of a relationship as privately owned is specified on the descriptor either in the MappingWorkbench, JDeveloper Mapping Editor, or directly in Java. Refer to Specifying Private or Independent Relationships in the Oracle TopLink Developer’s Guide for detailed instructions.
Related Questions
- If I have an object larger then a MB, do I have to manually split it or can I configure memcached to handle larger objects?
- Is it possible to configure JPOX to have element objects deleted when an owner object is deleted ?
- How do I configure TopLink to delete objects when an owner object is deleted (i.e., cascade delete)?