Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to configure JPOX to have element objects deleted when an owner object is deleted ?

0
0 Posted

Is it possible to configure JPOX to have element objects deleted when an owner object is deleted ?

0
0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.