Re: Listing Attributes

2008-03-24 Thread Jean-François Smigielski
If you want to run the DbAttribute's list of your DbEntity instance, with cayenne 3.0M3: http://cayenne.apache.org/doc/api/org/apache/cayenne/map/DbEntity.html#getAttributes() If you want to run the ObjAttribute's list for the ObjEntity associated to you DbEntity, I do not know a direct way. Use

Listing Attributes

2008-03-24 Thread Eric Polino
Is there a way I can get a List of the attributes for a given DBEntity? For instance, I have a customer. I want an iteratable list of fields I can query on. How can I do that? -- Eric Polino Campground Automated Systems