1 Reply Latest reply on Nov 29, 2003 11:49 AM by juha

    Entity bean & auto-increment field in database

      Hello All,

      I am having trouble dealing with primary key that is auto-incremented in the database. I am not sure how to declare that field in EntityBean and how to properly call ejbCreate(). Can someone shed some light on this topic?

      I went through the postings here on this item. My questions are is it not possible to let the EntityBean|Container know that database is responsible for auto-incrementing a particular field? Is it not supported in J2EE?

      Thank you,
      Vijay