cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@maniatis.org>
Subject Re: RelationshipQuery
Date Thu, 03 Oct 2013 04:19:12 GMT
On 3/10/13 12:50am, dollj@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" in the toolbar at the top

5. In the ObjRelationship inspector now open, change the collection type to List, Collection,
Map, or Set.


Ari



-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Mime
View raw message