List of usage examples for javax.persistence CascadeType ALL
CascadeType ALL
To view the source code for javax.persistence CascadeType ALL.
Click Source Link
From source file:mx.ecosur.multigame.manantiales.entity.PuzzleSuggestion.java
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER) public ManantialesMove getMove() { return move; }
From source file:ca.mcgill.cs.swevo.qualyzer.model.Transcript.java
/** * @return */ @OneToOne(cascade = { CascadeType.ALL }) public AudioFile getAudioFile() { return fAudioFile; }
From source file:mx.ecosur.multigame.manantiales.entity.PuzzleSuggestion.java
@ManyToOne(cascade = CascadeType.ALL) public ManantialesPlayer getSuggestor() { return suggestor; }
From source file:ca.mcgill.cs.swevo.qualyzer.model.Transcript.java
/** * * @return/*from w w w . ja v a 2s. c o m*/ */ @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, orphanRemoval = true, mappedBy = "transcript") @MapKey(name = "lineNumber") public Map<Integer, Timestamp> getTimestamps() { return fTimestamps; }
From source file:org.bwgz.swim.openlane.spring.model.OpenLaneUser.java
@OneToMany(cascade = CascadeType.ALL, targetEntity = OpenLaneAuthority.class, mappedBy = "username", fetch = FetchType.EAGER) public Collection<GrantedAuthority> getAuthorities() { return authorities; }
From source file:com.hmsinc.epicenter.model.geography.StateFeature.java
/** * @return the state/* w w w. j a va2 s . c o m*/ */ @XmlIDREF @XmlAttribute(required = true) @ManyToOne(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY) @JoinColumn(name = "ID_GEO_STATE", unique = false, nullable = true, insertable = true, updatable = true) @org.hibernate.annotations.ForeignKey(name = "FK_GEOGRAPHY_1") @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE, region = "com.hmsinc.epicenter.model.GeographyCache") public State getState() { return state; }
From source file:de.iew.framework.domain.principals.Authority.java
@DSTitleProperty @OneToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL) @JoinColumn(name = "display_name_id") public TextItemCollection getDisplayName() { return displayName; }
From source file:com.oakhole.sms.entity.SmsTask.java
@OneToOne(cascade = CascadeType.ALL) @JoinColumn(name = "phone_attachment") public File getPhone_attachment() { return phone_attachment; }
From source file:ca.mcgill.cs.swevo.qualyzer.model.Fragment.java
/** * @return//from ww w.ja v a 2 s . c om */ @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.EAGER) @CollectionId(columns = @Column(name = "COL_ID"), type = @Type(type = "string"), generator = "uuid-gen") public List<Annotation> getAnnotations() { return fAnnotations; }
From source file:tools.xor.db.pm.Task.java
@OneToMany(mappedBy = "taskParent", cascade = CascadeType.ALL, orphanRemoval = true) public Set<Task> getTaskChildren() { return this.taskChildren; }