It sounds like you're trying to persist a collection of enumerations as a set of data and not as a reference to other entities, is that correct?
If so, wouldn't a combination of @PersistentCollection and Externalization (section 6.6 in the manual) provide the function you are looking for? On Wed, Mar 25, 2009 at 11:48 AM, Tedman Leung <ted...@sfu.ca> wrote: > Anyone know how to store a collection of enums as Strings instead of their > ordinal values? (preferably with annotations...) > > i.e. > @ManyToMany > private Set<MyEnum> myEnums=new HashSet<MyEnum>(); > > > -- > Ted Leung > ted...@sfu.ca > > It's time for a new bike when the bulb in your shift light burns out. >