Example usage for org.hibernate.annotations CascadeType EVICT

List of usage examples for org.hibernate.annotations CascadeType EVICT

Introduction

In this page you can find the example usage for org.hibernate.annotations CascadeType EVICT.

Prototype

CascadeType EVICT

To view the source code for org.hibernate.annotations CascadeType EVICT.

Click Source Link

Document

JPA originally planned on calling DETACH EVICT.

Usage

From source file:gov.nih.nci.cabig.caaers.domain.StudyTherapy.java

License:BSD License

@ManyToOne
@JoinColumn(name = "study_id", nullable = false)
@Cascade(value = { CascadeType.EVICT })
public Study getStudy() {
    return study;
}