openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: Slice: extension of OpenJPA for distributed databases
Date Thu, 12 May 2011 18:19:40 GMT
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.



View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message