0 Replies Latest reply on Oct 30, 2003 12:30 AM by tdsdev

    JBoss 3.2 + Middlegen + XDoclet with Auto-Inc fields

    tdsdev

      Hi,

      we are using JBoss with Middlegen and XDoclet to create our Entitiy Beans. But we have a problem with Auto-Inc Fields in the MS SQLServer Database.
      All our create Methods needs a value for the primary key field. But this field is an auto inc field in the DB.
      How can we create an entity instance without specifying a primary key value?

      Thanx

      Andy