openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tedman Leung <ted...@sfu.ca>
Subject how to store collection of enums as strings
Date Wed, 25 Mar 2009 16:48:30 GMT
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
                                                           tedman@sfu.ca

It's time for a new bike when the bulb in your shift light burns out.

Mime
View raw message