Well I made the changes but that didn't work. So I am going to give up
and use a diffrent design for now. 

many-2-many will have to wait for another day!

Thanks for the help anyway,

Tim
On Fri, 2003-11-14 at 15:54, [EMAIL PROTECTED] wrote:
> May be this will help
> http://sourceforge.net/tracker/index.php?func=detail&aid=623291&group_id=36044&atid=415990
> 
> Best Regards
> Jean-Claude
> 
> Timothy Peter Cockle wrote:
> > Hi,
> > 
> > Thanks for all the help so far. Right now I am using both MySQL with the
> > InnoDB and postgreSQL. 
> > 
> > I have a quick question though.
> > 
> > Am I correct in assuming that the many2may ant tag use generate=false
> >   eg: <jointable name="person_relationship" generate="false"/> 
> > beacuse you don't want a personRelationship bean. Maintain the M2M
> > relationship thought he enity beans linked to tablea and tableb.
> > 
> > When I try to delopy using the postgreSQL I get the error:
> > [ServiceController] Problem starting service
> > jboss.j2ee:jndiName=Alpha_serendipity.RelationshipTypeLocalHome,service=EJB
> > org.jboss.deployment.DeploymentException: Entity: PersonRelationship not
> > found for: [EMAIL PROTECTED]
> > 
> >  more ejb-jar.xml | grep -5 PersonRelationship
> > 
> >          <ejb-relationship-role >
> >            
> > <ejb-relationship-role-name>person_relationship-cmp20-has-person-cmp20</ejb-relationship-role-name>
> >             <multiplicity>Many</multiplicity>
> >             <relationship-role-source >
> >                <ejb-name>PersonRelationship</ejb-name>
> >             </relationship-role-source>
> >          </ejb-relationship-role>
> > 
> >       </ejb-relation>
> >       <ejb-relation >
> > --
> > 
> >          <ejb-relationship-role >
> >            
> > <ejb-relationship-role-name>person_relationship-cmp20-has-relationship_type-cmp20</ejb-relationship-role-name>
> >             <multiplicity>Many</multiplicity>
> >             <relationship-role-source >
> >                <ejb-name>PersonRelationship</ejb-name>
> >             </relationship-role-source>
> >          </ejb-relationship-role>
> > 
> >       </ejb-relation>
> >       <ejb-relation >
> > 
> > I did try to deploy without the generate=false tag but this came up with
> > a diffrent error:
> > Depends On Me: org.jboss.deployment.DeploymentException: CMP field for
> > key not found: field name=personId, ObjectName:
> > jboss.j2ee:jndiName=Alpha_serendipity.RelationshipTypeLocalHome,service=EJB
> > state: FAILED 
> > This error was repeated all entity bean even though in only 3 beans
> > should have any knowledge to the person entity bean.
> > 
> > Thanks for any help.
> > 
> > Tim
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email sponsored by: ApacheCon 2003,
> > 16-19 November in Las Vegas. Learn firsthand the latest
> > developments in Apache, PHP, Perl, XML, Java, MySQL,
> > WebDAV, and more! http://www.apachecon.com/
> > _______________________________________________
> > middlegen-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/middlegen-user
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to