According to spec you can use 

  | @javax.persistence.JoinColumn(name = "EMPLOYE_FK",unique=true)
  | 


However, if you are creating the schema from scratch I suggest you use a 
@OneToOne relationship which does exactly what you want.

Regards

Felix

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

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

Reply via email to