cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bret Gregory <>
Subject Newbie Question: Mapping a Collection of Strings
Date Wed, 26 Aug 2009 02:08:22 GMT
I have a DB that looks something like this:



Where Product -> Keyword is 1:N and Keyword has a FK rel back to Product.  

I would like the object model to look something like this:

-(String) _description
-(List<String>) _keywords

Is it possible to map collections of simple objects and have them persisted by Cayenne?  Seems
like this would be a pretty common request, but
I am not seeing a way to do this in the modeler.


View raw message