RE: Generated @jboss tags conflict for many2many relationship

"Darren Hartford" <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.