Accessing original entity used when repository.save is invoked from EventListener event

Hi all, I am stuck with the issue described here java - How to access the original Entity used when repository.save(entity) is invoked from Hibernate AbstractEvents and EventListeners? - Stack Overflow . Is this even possible or shall I try some other solution?

I posted an answer on StackOverflow. Let’s continue the discussion there.