2 Replies Latest reply on Mar 13, 2004 2:43 PM by sahumx

    Errpr inserting data in primary key(Key generated by JBOSS)

    sahumx Newbie

      I am not sure what is going wrong: I am using JBOSS 3.2.2+mysql
      I create CMP managed bean Customer->account->contactinfo->address.

      Primary key are generated by JBOSS as the bean is CMP and I do not mention a primary key field AddressEJB_upk
      But whenever there is any operation, it fails complaining that
      java.sql.SQLException: null, message from server: "Column 'AddressEJB_upk' cannot be null"
      I am not sure what is happening...
      Anybody has any idea...