openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From crossbox <>
Subject DistributionPolicy help
Date Sat, 30 Mar 2013 20:51:05 GMT

I'm new to openJPA and am trying out to figure out how to implement the
distribution policy.  Ideally I'd like to implement it based on context but
I can't find a good example of this anywhere.  

Assuming a very simple set-up - I have identical customer tables on 2
databases and have configured the slice (slice1 and slice2) properties
correctly in the persistence.xml  - what would a sample distribution policy
look like for this? What properties of the context object can I use for this


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

View raw message