1. Open EO Attributes.
2. Select attribute for which you want to add value from database sequence.
3. Click on Details tab.
4. Select Default Value property as Expression. Click on Pencil button to add below expression.
(new oracle.jbo.server.SequenceImpl("TRX_SEQ",adf.object.getDBTransaction())).getSequenceNumber()
5. Click Ok button
6.Select Refresh Expression Value text field. Set value true
7.Save changes and test application.
2. Select attribute for which you want to add value from database sequence.
3. Click on Details tab.
4. Select Default Value property as Expression. Click on Pencil button to add below expression.
(new oracle.jbo.server.SequenceImpl("TRX_SEQ",adf.object.getDBTransaction())).getSequenceNumber()
5. Click Ok button
6.Select Refresh Expression Value text field. Set value true
7.Save changes and test application.