3 Replies Latest reply on Sep 7, 2001 5:22 AM by Paul Austin

    how to make unique primary key increce automatically

    eric sun Newbie

      i want to make a unique primary key increase one by one in a list of entity bean.
      it seems when i create a new entitiy bean,i have to assign its value first. but i want to get the value automatically increase one bye one. if i not use ejb, i can directly quote a value from a Oracle sequence , but in ejb how to do that?