[jboss-user] [Beginners Corner] - Re: Newbie problem with persitence

jaikiran do-not-reply at jboss.com
Thu Apr 17 11:33:36 EDT 2008


As per the EJB3 spec, Vector is not supported collection type for OneToMany mapping:
anonymous wrote : 
  | Collection-valued persistent fields and properties must be defined in terms of one of the following collection-valued interfaces regardless of whether the entity class otherwise adheres to the JavaBeans method conventions noted above and whether field or property-based access is used:
  | java.util.Collection, java.util.Set, java.util.List[4], java.util.Map.[5]
  | For collection-valued persistent properties, type T must be one of these collection interface types in the method signatures above. Generic variants of these collection types may also be used (for example, Set).
  | 

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

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



More information about the jboss-user mailing list