If I have an entity with a collection of Strings (e.g. a Person with many 
FirstNames), how would I map this to database tables using annotations? I tried 
a @OneToMany on the Set FirstNames, but this doesn't work.

Is my only option really to make FirstName an @Entity?

Is there any other way to get this to work without making FirstName an entity 
(i.e. without using @OneToMany?)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994555
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to