title: Repository Event Handler is not getting invoked after a cascade delete
body: <p>I have two Classes. The first is <code>Advertisement</code> and the second is <code>Image</code> . The Advertisement class contain a list of images. This list is annotated with: </p>
  
  <pre><code>@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
  </code></pre>
  
  <p>I wont to run do some actions (delete an image from the server) when an image is deleted from database. I don't call image repository to delete images there are deleted when deleting an Advertisement by cascade. I create a repository event handler:</p>
  
  <pre><code>@RepositoryEventHandler(Image.class)
  public class ImageEventHandler {
  
  @Autowired
  ImageStorageService imageStorageService;
  
  @HandleAfterDelete
  public void handleImageAfterDelete(Image image){
      String imageName = image.getName();
      System.out.println("**********************************");
      imageStorageService.deleteFile(imageName);
  }
  }
  </code></pre>
  
  <p>My event handler is not called at all when deleting an image .</p>
  
  <p>Any idea about what could be the problem. </p>