facebook

Problem using entity-beans.xml file [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #205175 Reply

    I’ve been putting all of my </entity> elements in entity-beans.xml.

    The problem is that they get duplicated whenever the ejb-jar.xml file is regenerated when i run xdoclet. So it generates the </entity> elements on its own, then sucks in the entity-beans.xml file as well, so i have two entity elements per entity bean.

    Is there a way to stop this, or to not use the entity-beans.xml file and have Xdoclet generate the <cmp-field> and <primkey-field> elements when it generates ejb-jar.xml?

    Thanks,
    layne

    #205176

    Okay i figured out how to let Xdoclet do all the work and not use entity-beans.xml

    However, the jbosscmp-jdbc.xml file is not get generated in the META-INF directory. How can I change this?

    #205177

    never mind. got it! 🙂

    #205182

    Riyad Kalla
    Member

    Glad to hear it, thank you for closing the loop with us.

    #205188

    Scott Anderson
    Participant

    Now that you got it working, how would you like to write a nice tutorial on how to do it? Think of all the fame and notoriety it will get you. 😉 Seriously, thre are many others that would surely be interested if you had the time.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem using entity-beans.xml file [Closed]

You must be logged in to post in the forum log in