Hi Ari
Thanks for the reply. My model is setup to return a Map for the
relationship as per your steps, and that works great.
My problems are:
1. How do I tell Cayenne to refetch the data for that relationship (when
parent object's cache strategy is set to SHARED_CACHE) ?
And/or 2. What is the A
On 3/10/13 12:50am, do...@xsinet.co.za wrote:
> Anyway with reference to question 1. performQuery returns a list, but I
> need the Map ?
1. Open cayenne modeler
2. Choose the Java entity you want
3. Go to "relationships" and click on the relationship you want to model
4. Click the little "I"
Hi
1. I have an ObjEntity with a relationship that returns a Map, which I
need to refetch.
public Map getResults() {
return (Map)readProperty(RESULTS_PROPERTY);
}
How do I go about it ?
2. With a regular relationship that returns a list I used
RelationshipQuery like so:
public List
>
> On Apr 26, 2010, at 2:32 PM, Joe Baldwin wrote:
>
>> I asked this question previously but did not see a reply.
>>
>>
>> I am trying to create a very fast custom fetch that is essentially a
>> qualified relationship. My relationships are based on an in
to create a very fast custom fetch that is essentially a
qualified relationship. My relationships are based on an integer
"oid" field.
Can I use the RelationshipQuery and qualify it? Or am I on the wrong
track?
I asked this question previously but did not see a reply.
I am trying to create a very fast custom fetch that is essentially a qualified
relationship. My relationships are based on an integer "oid" field.
Can I use the RelationshipQuery and qualify it? Or am I on the wrong track?
Is there any way to add a qualifier to the RelationshipQuery?
(I am trying to create a custom method that essentially returns a qualified
RelationshipQuery result set)