2 Replies Latest reply on Jul 17, 2004 4:31 AM by Alexey Loubyansky

    EJB CMP doesn't create the right table name

    mventre Newbie

      Hi folks,
      i have a weird problem with CMP ejb; infact i m using Jboss 3.2.4 and Eclipse environment with Xdoclet 1.2.
      In my code i develop an EJB called EBAssetsLocation with the xdoclet tag to specify the table-name reference in the db....infact the xxxx.jar contains the right jbosscmp...xml file; if i look to the xml i can see:

      ...
      <ejb-name>EBAssetsLocation</ejb-name>
      <create-table>true</create-table>
      <table-name>EBIASSETS</table-name>

      <cmp-field>
      <field-name>IDAssetType</field-name>
      <column-name>IDAssetType</column-name>
      ........................etc


      but if i deploy the ejb from scratch, jboss at deploy time creates a table with name EBAssetLocation and not EBIASSETS as i specified...

      do u know why?