9.9 How to Access Original Attribute Values
If an entity attribute's value has been changed in the current transaction, when you call the attribute getter method for it you will get this pending changed value. Using the getPostedAttribute()
method, your entity object business logic can consult the original value for any attribute as it was read from the database before the entity row was modified. The method takes the attribute index as an argument, so pass the appropriate generated attribute index constants that JDeveloper maintains for you.