I've got to release a huge tree of JDO persistent data like
/**
 * books associated with this library
 * books are huge trees of similarly declared objects (100s MBs, 1000s
objects, 5 layers deep)
 */
@Persistent(mappedBy = "library")
@Element(dependent = "true")
private List<Book> books = new ArrayList<Book>();

Which is better for the DB to call?
books.clear()
or
books = null;

Will orphaning a dependent child collection actually remove it from storage?
I'm asking this because I'm getting nasty NPEs from within ArrayList.clear()
as I reported in issue 224
http://code.google.com/p/datanucleus-appengine/issues/detail?id=224


-- 
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M.
Andretti

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to