1 Reply Latest reply on Jul 24, 2012 12:09 PM by Jiri.Machotka-Oracle

    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....