openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
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.

  

  

-----
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.

Mime
View raw message