Hibernate @OneToMany does not delete child on removal from the underlying collection
<p>i am using Hibernate 4 as a ORM tool within a Angular/Spring/Oracle project.</p>

<p>I have a bidirectional <code>@OneToMany</code> relationship in my parent class <code>Portfolio</code> as below:</p>

<pre><code>@OneToMany(mappedBy = "portfolio", fetch = FetchType.EAGER, cascade = { CascadeType.ALL }, orphanRemoval = true)
@JsonManagedReference
private Set&lt;PortfolioContributors&gt; portfolioContributors;
</code></pre>

<p>and a <code>@ManyToOne</code> relationship in my child entity <code>PortfolioContributors</code>.</p>

<pre><code>@ManyToOne
@JoinColumn(name = "PORTFOLIO_ID", referencedColumnName = "PORTFOLIO_ID", foreignKey = @ForeignKey(name = "FK_PORTFOLIO_CONTRIBUTORS"), nullable = false)
@JsonBackReference
private Portfolio portfolio;
</code></pre>

<p>The problem is that if i remove a entry from the set of child entities in parent class. It does not set removed/ deleted from database.</p>

<p>How to achieve this behavior?</p>