[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: FK - with Composite Key
avihaimar
do-not-reply at jboss.com
Thu Aug 21 03:10:46 EDT 2008
The solution will be to use in "insertable=false"
like this:
@JoinColumns( { @JoinColumn(name = "first",referencedColumnName="first",insertable=false,updatable=false)
, @JoinColumn(name = "second",referencedColumnName="second",insertable=false,updatable=false) })
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171677#4171677
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171677
More information about the jboss-user
mailing list