"drcallaway" wrote : Can you say a little more about the 
Option.suppressPersistence API? How would I use that? Where can I get a 
reference to the Option object?
Never mind. I figured it out and your suggestion worked great. Here's the new 
code:

Option option = cache.getInvocationContext().getOptionOverrides();
  | option.setSuppressPersistence(true);
  | rootNode.removeChild("content");
  | option.setSuppressPersistence(false);
  | rootNode.getChild("content");
That's much cleaner than how I was doing it before. Thanks for your help!

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238822
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to