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

    Entity bean & auto-increment field in database

    Vijay Kandy Newbie

      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