Is it possible to configure JPOX to have element objects deleted when an owner object is deleted ?
JPOX supports “cascade-delete” in JPOX 1.1. This is referred to, in JDO 2, as “dependent field”. In JPOX 1.0 there is no support for “cascade-delete”. It does provide a very limited “clear-on-delete” feature for Collection/Map relationships (1-N, M-N) but this only clears the link in the element object to the owner object, leaving the element object alone. “Cascade-delete” is planned to be added in the future.
Related Questions
- It is possible to move objects off the display. How can I edit objects where the object is not visible in the view?
- 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)?