0 Replies Latest reply on Oct 24, 2003 9:50 AM by biebel1975

    How do I use EJB CMP with an autogenerated PK in MSSQL datab

    biebel1975

      Can anybody please tell me how to use the EJB CMP 2.0 in comination with an autogenerated field for a table in mssql.
      Right now , I only have 1 ejbCreate -- that is ejbCreate(){}. I'm not passing any value for the id because mssql should generating one.

      The error I got is :

      Error could not create entity
      cannot insert null into column

      Thanks
      Bart