3 Replies Latest reply on Jun 17, 2003 9:08 AM by Juha Lindfors

    CMP Deployment Error

    Jacques Buitendag Newbie

      Hi All,

      I am getting the following error when I try and deploy my CMP entity bean

      Warning: The type of the primkey-field must match the primary key class.

      I am using java.lang.Long as primary Key and JBoss is creating the primary key colum as BIGINT

      Here is an part of my ejb-jar.xml file

      <persistence-type>Container</persistence-type>
      <prim-key-class>java.lang.Long</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>RegisteredClass</abstract-schema-name>
      <cmp-field>
      <field-name>SerialVerUID</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>RegisteredClassName</field-name>
      </cmp-field>
      <primkey-field>SerialVerUID</primkey-field>

      Could anyone help me

      Kind Regards
      Jacques Buitendag