[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[eclipselink-users] How to store an ArrayList of Enum Values?
|
- From: t3_chris <c.reiter@xxxxxxx>
- Date: Tue, 19 Aug 2008 13:48:08 -0700 (PDT)
- Delivered-to: eclipselink-users@eclipse.org
Hi!
I'am heavily using constructs like this to store Enum Values to the
Database.
@Column(name = "customer_status", nullable = false)
@Enumerated(EnumType.STRING)
private CustomerStatus status;
Now, i am in need to store an ArrayList, or List or Collection of serveral
of those Enum Values.
Can this be done with EclipseLink 1.0 ?
If yes, how?
I need something like:
@Enumerated(EnumType.STRING)
private ArrayList<CustomerStatus> customerStati;
How should the databasetable be designed for such thing?
Best Regards,
christian
--
View this message in context: http://www.nabble.com/How-to-store-an-ArrayList-of-Enum-Values--tp19051233p19051233.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.