Re: Maps

Armin Waibel <[email protected]> Fri, 28 Sep 2007 17:39:45 +0200
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <[email protected]>
Robert Giddings wrote:
> Also forgot to mention, what I really want is the XDoclet code that can
> be used with Maps.
>

Sorry, I don't get it. How are UserType and AccessRight associated (1:n?)?

Armin


> Robert
> 
> -----Original Message-----
> From: Robert Giddings [mailto:[email protected]] 
> Sent: 28 September 2007 14:28
> To: 'OJB Users List'
> Subject: RE: Maps
> 
> Hi Armin,
> 
> This is the Map in question:
> 
> private EnumMap<AccessRight, Boolean> accessRights = 
> 		new EnumMap<AccessRight, Boolean>(AccessRight.class);
> 
> It is just a data member field in an object called UserType.
> 
> Thanks,
> 
> Robert
> 
> -----Original Message-----
> From: Armin Waibel [mailto:[email protected]] 
> Sent: 28 September 2007 14:00
> To: OJB Users List
> Subject: Re: Maps
> 
> Hi Robert,
> 
> Robert Giddings wrote:
>> Hi,
>>
>> Does anyone know if and how OJB can handle Maps?
>>
> 
> can you describe more detailed what you want to do - using maps in 1:n 
> or m:n references, direct persist maps, ...
> 
> regards,
> Armin
> 
>> Thanks,
>>
>> Rob
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 
>