Hi, I have a question regarding delete by query. In the JDO 2.0 spec 14.8 it says:
"...These methods delete the instances of affected classes that pass the filter, and all dependent instances...." To me it is not really clear what should be done in case such instance contains a List attribute. Suppose I have the following class structure: Book { List<Page> pages = new ArrayList<Page>(); public void addPage(Page page) { pages.add(page); } } Page { } Three tables will be created, one of them is the relation table Book_Pages. When I perform: pm.currentTransaction().begin(); Query q = pm.newQuery(Book.class); q.deletePersistentAll(); pm.currentTransaction().commit(); When deleting the book object, he rows in the relation table corresponding to this book should be deleted as well. Should I specify additional information in the .jdo or .orm to make this happen (eg. delete-action="cascade" for the relation table), or should this be done implicitly without specifying any additional info? Kind regards, Christiaan