Get database value with Java

3
I am currently working on an audittrail function where I would like to get the values from the attributes of a object from the database. I know there is a function for the values in the cache: member.getValue. For the values in the database I found two options: member.getOriginalValue member.getPreviousValue Which one should I use?
asked
1 answers
6

In the javadoc of IMendixObjectMember you can find the following for the getPreviousValue() method: "Deprecated. use getOriginalValue() instead. This method will be supported until 2.4".

So it's recommended to use getOriginalValue() as getPreviousValue() won't be supported in version 2.5 and up.

answered