Hi lsp06,

  1. If possible, post the distribution policy you have implemented
  2. Please add some code to dump stack at the policy implementation to see
where/when the policy gets invoked twice. Looking at the code you have
posted, the policy *should* be called only when on Person p and the runtime
should assign the same slice to Address that are reachable from Person p.
  3. SlicePersistence static class has utility methods to print which slice
is assigned to an instance. Might give some clue on what is going wrong.

  

  

-----
Pinaki 
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Slice-extension-of-OpenJPA-for-distributed-databases-tp209691p6356755.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to