2 Replies Latest reply on Apr 20, 2003 11:47 AM by Jochen Cordes

    Cannot get XDoclet to generate jbosscmp-jdbc.xml

    mcschmidt_00 Newbie

      Hello--I'm trying to implement my first CMP relationship following the example laid down at the end of chapter 6 of the Monson-Hafel ejb book. Basically, customer bean and address Bean...customer has an address...one-to-one uni-directional relationship between the two with an abstract accessor in the customer bean called homeAddress. This is also, obviously, the name of the foreign-key field in the Customer table.

      I think I've got everything set up correctly but I can't seem to get XDoclet to produce a jbosscmp-jdbc.xml file. It does fine with the ejb-jar.xml and jboss.xml and even does an unwanted jaws.xml, but no jbosscmp-jdbc.

      What am I missing??? Can someone out there can give me some ideas. I've attached what I hope are all of the relevant files. Also, here are the versions I'm running...

      jboss: 3.0.6
      ant: 1.5.3
      XDoclet: 1.1.2

      Thanks,

      Michael