As per the posted code listing setAddress() method is commented out and it really is not doing anything. Now Slice persists a root instance r when you call em.persist(r) and all other instances that are reachable from r *at the time* of the call. Because your Person.setAddress() method does not do anyhting, the policy is called independently on Person and Address.
----- Pinaki -- View this message in context: http://openjpa.208410.n2.nabble.com/Slice-extension-of-OpenJPA-for-distributed-databases-tp209691p6347020.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
