Re: Generated @jboss tags conflict for many2many relationship

"Shaun" <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <00d901c418c2$1c3628d0$fd01a8c0@actual>
Darren,

Hand-editing the fields within the @jboss.relation tag to be the same as the @jboss.target-relation tag worked for me.

Shaun

>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?
=20
Cheers,
Shaun Savani
=20

  ----- Original Message ----- 
  From: Shaun 
  To: [email protected] 
  Sent: Wednesday, March 31, 2004 5:34 PM
  Subject: 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.