[jboss-user] [EJB 3.0] - Re: Can not seem to name foreign keys in relationships

baronDodd do-not-reply at jboss.com
Mon Sep 3 09:03:07 EDT 2007


Fixed it, it was the precence of the following that was causing the problem:

@UniqueConstraint(columnNames={"name","catalogue"}

Should have been 

@UniqueConstraint(columnNames={"name","catalogueFK"}

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

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



More information about the jboss-user mailing list