Sorry for may English. I have 4 tables:
**t1**
id
**t2**
id
t1_id
**t3**
id
t2_id
**t4**
id
t1_id
t2_id
In t2 entity I use it:
@OneToMany(fetch=FetchType.LAZY, cascade = {CascadeType.ALL}, mappedBy="t2")
Set<t3> t3Set;
@OneToMany(fetch=FetchType.LAZY, cascade = {CascadeType.ALL}, mappedBy="t2")
Set<t4> t4Set;
If i delete t2 entity, then t3-4 also to be deleted. But it is not working with multiple levels. How to delete t1?