i’m using an HybridJpaRepository and I’ve seen that by applying an event that implements AggregateDeletedEvent from the AR, the AR itself gets properly removed. Great!
However this event it’s not persisted on the eventstore.
That’s explained by the fact that HybridJpaRepository inherit the method doDeleteWithLock from GenericJpaRepository but doesn’t override it as it does with doSaveWithLock method.
Can someone explain me why?