facebook

xdoclet table-name tag not being generated

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    jthompson
    Member

    In my cmp entity bean class, I’m specifying the name of the table to create as follows (within the class comments):

    @jboss
    .persistence table-name = “Customer”

    However, the tag is not being generated in the xdoclet-build.xml file and thus not in jbosscmp-jdbc.xml. Interestingly, other @jboss.persistence tags (i.e. datasource) are generated.

    I am using MyEclipse v. 3.8.1, Eclipse v. 3.0.0 Build 200406251208.

    Thank you.

    #215222

    Riyad Kalla
    Member

    I have asked our XDoclet guy to look at this.

    #215223

    Greg
    Member

    When you add the “Standard EJB” xdoclet configuration, make sure that you add the “jboss” subdoclet task under ejbdoclet. Right-click “ejbdoclet” and add the jboss task. Then on the jboss task, set the “Version” attribute to 3.2 if you are using JBoss 3.2.X. Also, set the destDir attribute to src/META-INF so the jboss files jboss.xml, and jbosscmp-jdbc.xml will be generated in the right place.

    If this doesn’t work, post the contents of your EJB source file and your .xdoclet file so we can help determine the problem. Your .xdoclet file is located under the project root. You will have to switch to the Resource perspective to see this file.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: xdoclet table-name tag not being generated

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