Hi Chris !
The relation section in jbosscmp-jdbc.xml should read like this:
<!-- Primary-Key von AssemblyEnt
<!-- name fo the column in the WorkOrderEnt-Table that stores the key-data
So basically, you have to define the foreign-key in the section of the bean this foreign-key refers to. Then the foreign-key-field will be created in the table of the other participating bean.
Hope it helps,
Thanks for your help, but It seems something else was wrong. Once again I seem to have mixed up hints for older JBoss versions and new ones. I had to add a <foreign-key-mapping/> field and call the other fields <key-fields> and <key-field>.
But I wouldn't have come very far if you hadn't given me that tip, because I also had to swap the entries ... thanx a lot :)