cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Fran├žois Smigielski" <>
Subject Re: Listing Attributes
Date Mon, 24 Mar 2008 19:00:38 GMT
If you want to run the DbAttribute's list of your DbEntity instance, with
cayenne 3.0M3:

If you want to run the ObjAttribute's list for the ObjEntity associated to
you DbEntity, I do not know a direct way. Use an EntityResolver instance.
Anyway, this class will help you a lot:


2008/3/24, 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

JF Smigielski

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message