users@glassfish.java.net

basic jpa collection question

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Mar 2007 13:18:54 PST

I've been searching for this and looking in the spec but I don't see the answer.
I know that you can have an entity with persistent field or property of type enum or Integer. Is it possible to specify a Collection(set or list) of something like Set<Enumtype> or Set<Integer>? And if so could you give an example. Or will I need to create an entity wrapper for that?
Thanks in advance.
[Message sent by forum member 'jland' (jland)]

http://forums.java.net/jive/thread.jspa?messageID=206978