Re: How to use Enums

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Apr 30 2005 - 16:59:09 EDT


> Hello,
>
> is there a simple way to use commons enum object with cayenne and access
> them over the commons enum? For example for a User to store his level
> (user, admin, ..).
>
> If not how do you solve this problem clearly and simple in your objects
> (not in the db that is clear)?
>
> sastan

Here is an enums example by Michael Gentry:

http://objectstyle.org/confluence/display/CAY/Enumerations+Example

Andrus



This archive was generated by hypermail 2.0.0 : Sat Apr 30 2005 - 16:59:10 EDT