2 Replies Latest reply on Jun 24, 2002 10:34 AM by Faisal Mahmood

    Problem using CMP 1.x with JBoss 3

    Faisal Mahmood Newbie

      Hi,
      I am using CMP 1.x on JBoss 3.0. I have problem mapping the names of the persistent fields. I am using Firebird (Interbase) db which has some reserved words and those are being used in my beans. I have tried
      to map the field-name with the column-name in jaws.xml file like this,


      <ejb-name>TalenomProduct</ejb-name>
      <cmp-field>
      <field-name>Type</field-name>
      <column-name>Ttype</column-name>
      </cmp-field>

      findNormalProductsSortByIdentifier
      IsNormal='1'

      NumericalIdentifier

      <table-name>TalenomProduct</table-name>


      But still the queries generated by JBoss are using the same name (which I have already mapped). So do I have to do some other configuration ..? or I am missing some thing?
      BR,
      Faisal.