Hi,

I was wondering what is the best approach to map an association of the kind 
where one side is 0..1 and the other is 0..*

I tried using OneToMany annotation along with nullable set to true, but that 
doesn't work. 

Do I have to do this using ManyToMany and provide code to check and enforce 
that one side does not have more than 1 instance?

Thanks

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

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

Reply via email to