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!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916156#3916156

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916156


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to