> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David Ward
> Sent: 11. juni 2002 17:12
> To: XDoclet-User
> Subject: Re: [Xdoclet-user] bug missing empty key-fields element
> Importance: High
>
>
> This is a real problem, though sourceforge says "works for me."  To
> prove it, I uploaded a test case to the bug.  Please check it out.
>

Most bugs are real problems. Marking your mail as "important" makes no
difference ;-) Please be patient or fix it yourself.

> rinkrank,

My real name is Aslak.

> Sorry for the direct (bcc) email, but I didn't know how else to bring
> your attention to this if you're didn't say "monitor" on the bug.  You
> asked for the javadoc, but I thought a full test case would be better.
>

Sorry, I was a bit quick when I looked at the bugreport. I thought this was
about the standard ejb-jar.xml, and that's why I assigned it to myself (I am
the on who deals most with that + weblogic). I know nothing about JBoss, so
I have assigned it to pazu/Marcus Brito (one of our JBoss guys). Thanks for
attaching an example.

Cheers,
Aslak

> Thanks,
> David
>
> --
>
> David Ward wrote:
> > I added a sourceforge bug for this:
> >
> http://sourceforge.net/tracker/?func=detail&aid=563717&group_id=31
> 602&atid=402704
> >
> >
> > --
> >
> > David Ward wrote:
> >
> >> XDoclet version: CVS June 2, AM.
> >> JDK version: Sun Linux JDK 1.4.0
> >> Ant version: 1.5Beta2  (had same problem with beta1)
> >> JBoss version: jboss-3.0.0_tomcat-4.0.3
> >>
> >> --
> >>
> >> XDoclet creates an ejb-relation block that is missing an empty
> >> key-fields element, which JBoss requires.
> >>
> >> This is what I got:
> >>
> >>     <ejb-relation>
> >>       <ejb-relation-name>Group-Album</ejb-relation-name>
> >>       <foreign-key-mapping/>
> >>       <ejb-relationship-role>
> >>
> >>
> <ejb-relationship-role-name>Album-Has-Group</ejb-relationship-role-name>
> >>       </ejb-relationship-role>
> >>       <ejb-relationship-role>
> >>
> >>
> <ejb-relationship-role-name>Group-Has-Albums</ejb-relationship-role-name>
> >>           <key-fields>
> >>              <key-field>
> >>                <field-name>key</field-name>
> >>                <column-name>GROUP_KEY</column-name>
> >>              </key-field>
> >>           </key-fields>
> >>       </ejb-relationship-role>
> >>     </ejb-relation>
> >>
> >> This is what I want (note the <key-fields/> in Album-Has-Group):
> >>
> >>     <ejb-relation>
> >>       <ejb-relation-name>Group-Album</ejb-relation-name>
> >>       <foreign-key-mapping/>
> >>       <ejb-relationship-role>
> >>
> >>
> <ejb-relationship-role-name>Album-Has-Group</ejb-relationship-role-name>
> >>           <key-fields/>
> >>       </ejb-relationship-role>
> >>       <ejb-relationship-role>
> >>
> >>
> <ejb-relationship-role-name>Group-Has-Albums</ejb-relationship-role-name>
> >>           <key-fields>
> >>              <key-field>
> >>                <field-name>key</field-name>
> >>                <column-name>GROUP_KEY</column-name>
> >>              </key-field>
> >>           </key-fields>
> >>       </ejb-relationship-role>
> >>     </ejb-relation>
> >>
> >> Without the empty key-fields element, JBoss doesn't recognize my
> >> definitions of [what rel. columns named what should go where], and, to
> >> use technical terms, "everything gets screwy."
> >>
> >> Thanks,
> >> David
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to