Creating a sequence number is done with a simple expression in ADF. Select the entity attribute for which the sequence has to be generated. Change the Value Type to expression and add following code in the value by using Edit Expression Editor.
(new oracle.jbo.server.SequenceImpl("BATCHES_SEQ_S",adf.object.getDBTransaction())).getSequenceNumber()
Instead of
BATCHES_SEQ_S use your own sequence name in above expression.
No comments:
Post a Comment