Entity Equality Check

Is there a way to see if two entities are equal before doing a commit? It looks like there use to be a Java method called objectHasChanged but it seems to be absent in recent versions of CommunityCommons. Thanks in advance!
1 answers

Hi David,

Are you trying to compare the attribute values or if the objects are the same?

For attribute values, you can use the object comparator module



For comparing if two objects are the same, you can just use an equal sign in an exclusive split.


Hope this helps!


Edit: I also see that the java action "memberhaschanged" is still in community commons. 



Edit 2: I think the action you are looking for is in this module. This module was branched from community commons at Mx version 6.7