As I posted, it works now, but with @JoinColumn. I think that there was something wrong in RC3 with referencedColumnName in @JoinColumn. That's why I didn't use it and that's why it surprised me to work now. Anyway, hopefully there will be no more big changes in final release and I will not have to change my code drastically.
If you have time for one last question: What's the difference between @PrimaryKeyJoinColumn and @JoinColumn? Sorry if this is stupid (then forget it), but I don't understand when to use @PrimaryKeyJoinColumn. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921515#3921515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921515 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
