How do you annotate an entity that contains a collection of primitives (say, a Set)?
I'm coming from the Hibernate/POJO world where I used to use jmxdoclet and @hibernate.set, @hibernate.collection-element and @hibernate.collection-key for this kind of mapping. I don't see the equivalent EJB3 annotations though.
Can someone point me to an example of this? The examples I've found are all @OneToMany with collections of other entities. Thanks!