1 Reply Latest reply on Dec 13, 2001 4:34 AM by Michel de Groot

    question abt mapping between field-name & column-name in CMP

    integer Newbie

      my table has a field named "mode",and the field in cmp class is also named "mode". i am using sybase sql anywhere 7. "mode" is a keyword in sybase db, so i declare the field in ejb-jar.xml:
      ...
      <cmp-field><field-name>mode</field-name>
      ...
      and in jaws.xml:
      ...
      <cmp-field><field-name>"mode"</field-name></cmp-field>
      ..
      but jboss generated sql,for example :
      insert mytable (...,mode,....) values (....)

      so, what should i do?