1 Reply Latest reply on Apr 30, 2003 9:10 AM by Daniel Lehmann

    automatic primary key sequence

    sys user Master

      Can JBoss do automatic primary key sequence generation for EJB CMP's ?

      WebLogic has this functionality ...
      http://edocs.bea.com/wls/docs61/ejb/cmp.html#1066165

      And I'm trying to port an app that uses WebLogic's automatic-key-generation to JBoss. Anyone knows if this can be done without me recoding the app?

      WebLogic has this in the weblogic-cmp-rdbms-jar.xml

      <automatic-key-generation>
      <generator-type>NAMED_SEQUENCE_TABLE</generator-type>
      <generator-name>MY_SEQ_TABLE</generator-name>
      <key-cache-size>10</key-cache-size>
      </automatic-key-generation>

      Thanks,
      Trev