I have two related clases JPA-annotated. Alarm and Status. One Alarm can have one Status.
What I need is to be able to delete one Status and \"propagate\" a null v
Are you sure with your @OneToOne? It seems to me that you'd rather use @ManyToOne (as a status can be affected to several alarms):
@Entity public class Alarm { ... @ManyToOne(cascade=CascadeType.ALL) @JoinColumn(name="idStatus", nullable=true) private Status status; ... }