openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: slices, collocation
Date Tue, 25 Nov 2008 21:41:08 GMT

> Person p1 = em2.getReference( p1Id );
> Address a1 = p1.getAddress();
> logger.debug( "a1: " + a1 );

If DistributionPolicy.distribute(p1) = DistributionPolicy.distribute(a1),
then 
  assertNotNull(a1);

else
  assertNull(a1);

SlicePersistence.getSlice(x) for any managed instance x return the slice
name that stores x.


-- 
View this message in context: http://n2.nabble.com/slices%2C-collocation-tp1563065p1578339.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.


Mime
View raw message