3 Replies Latest reply on Nov 16, 2002 4:00 AM by juha

    CMP2.0 Bean with autoincrement primary key?!?

    davout

      I'm building my first JBoss CMP2.0 entity bean.

      The bean relates to a 'mySQL' DB table that has an autoincrement integer primary key.

      Looking at the entity bean's Home interface (auto generated from the DB schema by JBuilder7 IDE) it still has a 'create' method with an integer parameter.

      How does JBoss handle auto inc primary keys? Do I still need to pass in a create method param or what?