Got it to work. @PrimaryKeyJoinColumn didn't do the job here. I've put @JoinColumn back. Someone may laugh, but I forgot to remove referencedColumnName, and that actually did the trick. It looks like that was the problem all along. Now there are no exceptions on deployment. If only I can make finders work... But that's another story, and probably I'll manage to do it today.
Bill and Mooktarus, thank you for all the replies. This is new technology and it requires probably more polishing and even more documenting, but keep up the good work. If you ever come to Novi Sad, Serbia, you'll get a bottle of finest Serbian ?ljivovica (plum brandy) :-) Thank you again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921420#3921420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921420 ------------------------------------------------------- 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
