1 Reply Latest reply on Jul 10, 2002 4:34 PM by dsundstrom

    table name

    tdang

      Hi!

      I mapped my bean with the table in the database in the jaws.xml as following:


      jdbc/SalesDB
      <datasource-mapping>DB2</datasource-mapping>

      <enterprise-beans>

      <ejb-name>ProductBean</ejb-name>
      <table-name>Product</table-name>
      <create-table>false</create-table>
      <cmp-field>
      <field-name>name</field-name>
      <column-name>name</column-name>
      </cmp-field>
      <cmp-field>
      <field-name>description</field-name>
      <column-name>description</column-name>
      </cmp-field>

      </enterprise-beans>



      After deploying I saw in the file log file of JBoss "server.log" that JBoss mapped my bean with the table name ProductBean, not with the name which I gave in the file jaws.xml.

      Why? Please help me!

      Regards