try this:

  |                 t.begin();
  |                                 //queues an update from stale uNode
  |             //Node mergedNode = em.merge(fromNode);
  | 
  |                                 //refresh reads back queued model
  |             em.refresh(fromNode);
  | 
  |             t.commit();
  | 

i commented out the call to merge (i think this is the call that's undoing your 
changes) and changed the argument to refresh (now it's fromNode instead of 
mergedNode).

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

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

Reply via email to