sets cascaded delete behaviour.
sets cascaded delete behaviour.
Setting cascadeOnDelete to true will result in the deletion of all member objects of instances of this class, if they are passed to delete .
Caution !
This setting will also trigger deletion of old member objects, on calls to set .
An example of the behaviour:
ObjectContainer con;
Bar bar1 = new Bar();
Bar bar2 = new Bar();
foo.bar = bar1;
con.set(foo); // bar1 is stored as a member of foo
foo.bar = bar2;
con.set(foo); // bar2 is stored as a member of foo
ObjectClass Interface | com.db4o.config Namespace | cascadeOnDelete | delete | Using callbacks