openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Julien <>
Subject Use of AbstractLRSProxyCollection
Date Tue, 02 Aug 2011 22:53:34 GMT
I am trying to get the OpenJPA Cassandra plugin to play nice with
collections and stumbled upon  AbstractLRSProxyCollection or should I
say, when it should be used.  The ticket for your reference is here if
you wish to read it:

Here are a few questions I have:

1. If the fetch size property is set to -1, should LRS collections be
used in the first place?

2. AbstractLRSProxyCollection is a Set<T>, but it's not a List<T>, is
there an equivalent LRS object for lists?

3. How do you properly create an AbstractLRSProxyCollection.  The
state manager will only return an instance of
org.apache.openjpa.util.ProxyCollection.  How do you create an
instance of AbstractLRSProxyCollection that is properly attached to
its state manager, e.g., in the case of a child collection annotated
with @OneToMany?

I see there's a setOwner() in that class, but that can't be enough can't it?

thanking you in advance for any information you may provide.

View raw message