0 Replies Latest reply on Jan 7, 2002 12:09 PM by mdyla2001

    How to re-read pk(autoinc) value after create ejb CMP

    mdyla2001

      I am using Oracle and jBoss_2.4.4

      Value for primary key field is obtained from sequence inside trigger (on before).

      ejbCreate sets pk = 0 and all working well except value
      of pk field in ejb which is 0 . Can I force ejb to re-read current value of pk field from table after insert ?
      Or is there other way to use sequences (or autoinc) feature in CMP ejb ?

      mietek