Hey Shaun,
Actually I ran into this problem as well, but could not identify it (first time running into a many2many relation).  So the solution should be to have @jboss.relation be the same as the generated @jboss.target-relation?
-D
-----Original Message-----
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 11:34 AM
To: [EMAIL PROTECTED]
Subject: [Middlegen-user] Generated @jboss tags conflict for many2many relationship

I think I may have found a bug in Middlegen 2.0 VO, in which incorrect @jboss tags are generated for a many2many relationship represented as a join table in the database.  The generated @jboss.relation and @jboss.target-relation contain conflicting values for fk-column and related-pk-field, resulting in a jar that doesn't deploy in JBoss 3.2.3.  Hand editing the @jboss.relation tag to contain the same values as the @jboss.target-relation tag results in a jar that does deploy.  Has anyone else encountered this?
 
Cheers,
Shaun Savani
 

Reply via email to