Friday, March 11, 2011

3 Types of OARow Removal

methods inherited from oracle.jbo.Row

note: you cannot remove a row if it's marked as read-only

OARow.remove()
- removes the row from the DB

OARow.removeFromCollection()
- removes the row from the ViewObject. Once the row is removed, it cannot be used anymore.

OARow.removeAndRetain()
- same as removeFromCollection() but the row can still be inserted to a different ViewObject instance. Prolly you can still manipulate the OARow object and changes will still be reflected on the DB once COMMIT is called (theorectically)


- source : OAF docs

No comments:

Post a Comment