if you want your relationships to work, set the @ejb.bean primkey-field attribute.  if you're using generated PKs, you'll have a problem...
-----Original Message-----
From: Machiel Groeneveld [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 11:15 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] generateRelations

Hi all,
 
I'm having a very anoying "Atleast one role of a foreign-key mapped relationship must have key fields" error with JBoss 3.2.2 and Xdoclet 1.2b3. From what I've found so far, one sollution is to turn the generation jboss relations off. But generateRelations="false" in the jboss subtask doesn't seem to have any effect.
 
Is there anyone with the same bug and a possible sollution? And how can I turn off the relationships in jbosscmp-jdbc.xml?
 
Thanks.
Machiel.

Reply via email to