0 Replies Latest reply on Aug 24, 2003 9:48 AM by Urs Wagner

    Integer primary key

    Urs Wagner Novice


      "urswag" wrote:
      "urswag" wrote:

      I would like to use CMP entity beans.
      Usually in database development the first column is an integer not null, unique and defined as primary key.
      In the entity beans samples I watched until now, I always see a string as primary key, this one is a name, email ...
      My question: Is the EJB primary key different from the database primary key?
      Is there existing a good example where I can examine this problem?

      Thanks for Your advices.

      Urs Wagner