facebook

[Closed]Where do I maintain a db table name in my ejb class?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #238524 Reply

    janson.ly
    Member

    The problem that I am running into is when I run the XDoclet, my table name will always reverse back to my ejb class name in my weblogic-cmp-rdbms-jar.xml file. Is there a way to maintain the table name within the ejb class? so I do not have to edit the above xml file before I deploy my jar file and after I run the XDcolet process?

    #238536

    Greg
    Member

    Have you tried adding a XDoclet ejb.persistence table-name tag to your EJB class? If not trying putting the following tags just below your @ejb.bean xdoclet tags in your EJB implementation.

    * @ejb.persistence
    *         table-name="<TABLE_NAME>"
    #238605

    janson.ly
    Member

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed]Where do I maintain a db table name in my ejb class?

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