You can simply to to your entity pk attribute change the default value type to expression and put
(new oracle.jbo.server.SequenceImpl("YOUR_SEQ_NAME",object.getDBTransaction())).getSequenceNumber()
other ways could be found at http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcentities.htm#BABGHJFG
and
1 comment:
Hi Vik,
Here is yet another way: http://forums.oracle.com/forums/messageview.jspa?messageID=3774998
Well, it's not really a way yet, but it's quite an easy task, I believe, to implement, even if its not within the base capability of ADF yet.
John
Post a Comment