1 Reply Latest reply: Jul 24, 2012 7:09 AM by Jiri.Machotka-Oracle RSS

    Adding Sequence to the set of Transactions


      My Scenario is:

      Suppose an customer ordered three products at a time, then that three product rows must have single order_id(this order_id should be sequence generator).

      But iam getting different order_id's for three products.....

      I have add sequence generator using following code in the EO IMPL class in create method,

      SequenceImpl s=new SequenceImpl("first_seq",getDBTransaction());

      How can i accomplish this task...? Suggest me any relevent solution....