Entity Equality Check

0
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!
asked
1 answers
1

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

https://appstore.home.mendix.com/link/app/35384/

 

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. 

https://github.com/mendix/CommunityCommons

 

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

https://appstore.home.mendix.com/link/app/37114/Mendix/ObjectHandling

answered