Login  Register

Re: [OFBiz] Dev - FindAll with a entity-view

Posted by Adam Heath-2 on Sep 05, 2005; 9:56pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Dev-FindAll-with-a-entity-view-tp165973p165974.html

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