"norbert" wrote : This must happen within the same transaction as 
getChildrennames(). If not using transactional locking there's still a chance 
that the Constructor of TreeSet will throw ConncurrentModificationException 
too. (It makes use of the Iterator of the 'result').

Yeah, I noticed the same thing (after trying it).  I am not using a transaction 
b/c this happens so infrequently, I am just retrying if I get the exception.  
It would be nice if you could do this without transactions (and not get the 
exception).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856892#3856892

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856892


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to