RE: [OFBiz] Dev - FindAll with a entity-view
Posted by
Michael Irving on
Sep 06, 2005; 1:17pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Dev-FindAll-with-a-entity-view-tp165973p165975.html
I sent you the wrong "version". I had already modified the rel-field-name
to use the "To" Id from the partyRelationships table.
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On
Behalf Of Adam Heath
Sent: Monday, September 05, 2005 4:57 PM
To: OFBiz Project Development Discussion
Subject: Re: [OFBiz] Dev - FindAll with a entity-view
On Sun, 4 Sep 2005, Michael Irving wrote:
> I'm trying to query an entity-view that I created, but I'm getting the
> following in ofbiz.log. I'm guessing that the findAll uses the primary
key
> to perform the query. Is there another way to query a view WITHOUT using
> the primary key???
>
>
>
>
>
> <view-link entity-alias="PER" rel-entity-alias="PER_REL">
>
> <key-map field-name="partyId" rel-field-name="roleTypeIdTo"/>
>
> </view-link>
That's a bad keymap. Those fields don't carry the same data.
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev