org.hibernate.annotations.OnDeleteAction Java Examples
The following examples show how to use
org.hibernate.annotations.OnDeleteAction.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TaskData.java From scheduling with GNU Affero General Public License v3.0 | 5 votes |
@Column(name = "EXECUTER_INFORMATION_DATA", length = Integer.MAX_VALUE) @Cascade(CascadeType.ALL) @Type(type = "org.hibernate.type.SerializableToBlobType", parameters = @org.hibernate.annotations.Parameter(name = SerializableToBlobType.CLASS_NAME, value = "java.lang.Object")) @OnDelete(action = OnDeleteAction.CASCADE) public ExecuterInformationData getExecuterInformationData() { return executerInformationData; }
Example #2
Source File: TaskData.java From scheduling with GNU Affero General Public License v3.0 | 5 votes |
@Cascade(CascadeType.ALL) @OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData") @OnDelete(action = OnDeleteAction.CASCADE) @OrderColumn(name = "SCRIPT_ORDER") public List<SelectionScriptData> getSelectionScripts() { return selectionScripts; }
Example #3
Source File: TaskData.java From scheduling with GNU Affero General Public License v3.0 | 5 votes |
@Cascade(CascadeType.ALL) @OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData") @OnDelete(action = OnDeleteAction.CASCADE) @OrderColumn(name = "DS_SELECTOR_ORDER") public List<SelectorData> getDataspaceSelectors() { return dataspaceSelectors; }
Example #4
Source File: TaskResultData.java From scheduling with GNU Affero General Public License v3.0 | 5 votes |
@ManyToOne(fetch = FetchType.LAZY) @OnDelete(action = OnDeleteAction.CASCADE) @JoinColumns(value = { @JoinColumn(name = "JOB_ID", referencedColumnName = "TASK_ID_JOB"), @JoinColumn(name = "TASK_ID", referencedColumnName = "TASK_ID_TASK") }) public TaskData getTaskRuntimeData() { return taskRuntimeData; }
Example #5
Source File: TaskData.java From scheduling with GNU Affero General Public License v3.0 | 4 votes |
@Cascade(CascadeType.ALL) @OneToMany(mappedBy = "taskData") @OnDelete(action = OnDeleteAction.CASCADE) public Set<EnvironmentModifierData> getEnvModifiers() { return envModifiers; }
Example #6
Source File: TaskData.java From scheduling with GNU Affero General Public License v3.0 | 4 votes |
@Cascade(CascadeType.ALL) @OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData") @OnDelete(action = OnDeleteAction.CASCADE) public Map<String, TaskDataVariable> getVariables() { return variables; }
Example #7
Source File: TaskData.java From scheduling with GNU Affero General Public License v3.0 | 4 votes |
@OneToOne(fetch = FetchType.LAZY) @OnDelete(action = OnDeleteAction.CASCADE) public TaskData getIfBranch() { return ifBranch; }
Example #8
Source File: JobData.java From scheduling with GNU Affero General Public License v3.0 | 4 votes |
@Cascade(org.hibernate.annotations.CascadeType.ALL) @OneToMany(fetch = FetchType.LAZY, mappedBy = "jobData") @OnDelete(action = OnDeleteAction.CASCADE) public Map<String, JobDataVariable> getVariables() { return variables; }
Example #9
Source File: JobData.java From scheduling with GNU Affero General Public License v3.0 | 4 votes |
@OneToMany(mappedBy = "jobData", fetch = FetchType.LAZY) @OnDelete(action = OnDeleteAction.CASCADE) public List<TaskData> getTasks() { return tasks; }