title: @ManyToMany allowing delete when its not supposed to. Contraint violation
body: <pre><code>@ManyToMany(targetEntity = AlunoTO.class, fetch=FetchType.EAGER)
  @JoinTable(name = "TRE_ALUNO_CURSO", joinColumns= @JoinColumn(name ="id_curso"),     inverseJoinColumns = @JoinColumn(name = "id_aluno"))
  private Set&lt;AlunoTO&gt; alunos;
  
  @ManyToMany(targetEntity = CursoTreinamentoTO.class)
  @JoinTable(name ="TRE_ALUNO_CURSO", joinColumns = @JoinColumn(name ="id_aluno"), inverseJoinColumns= @JoinColumn(name ="id_curso") )
  private Set&lt;CursoTreinamentoTO&gt; cursos;
  </code></pre>
  
  <p>Curso = Course
  Aluno = Students</p>
  
  <p>So this is how I have my @ManyToMany annotated. My problem is, I shouldnt be able to delete Course when theres still a student related to it, but hibernate let me delete that registry without any warnings or errors. Oh yah, I already tried with doing the joinColluns on only one side and doing mappedBy in the other but still doesn´t work.</p>
  
  <p>Why am i able to delete a course when it violates the fk ? Anything wrong with my annotations?</p>