当前位置: 首页>>代码示例>>Java>>正文


Java OnDelete类代码示例

本文整理汇总了Java中org.hibernate.annotations.OnDelete的典型用法代码示例。如果您正苦于以下问题:Java OnDelete类的具体用法?Java OnDelete怎么用?Java OnDelete使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


OnDelete类属于org.hibernate.annotations包,在下文中一共展示了OnDelete类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getEnvModifiers

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@Cascade(CascadeType.ALL)
@OneToMany(mappedBy = "taskData")
@OnDelete(action = OnDeleteAction.CASCADE)
public List<EnvironmentModifierData> getEnvModifiers() {
    return envModifiers;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:7,代码来源:TaskData.java

示例2: getTaskRuntimeData

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@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;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:8,代码来源:TaskResultData.java

示例3: getExecuterInformationData

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@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;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:8,代码来源:TaskData.java

示例4: getVariables

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@Cascade(CascadeType.ALL)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData")
@OnDelete(action = OnDeleteAction.CASCADE)
public Map<String, TaskDataVariable> getVariables() {
    return variables;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:7,代码来源:TaskData.java

示例5: getIfBranch

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@OneToOne(fetch = FetchType.LAZY)
@OnDelete(action = OnDeleteAction.CASCADE)
public TaskData getIfBranch() {
    return ifBranch;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:6,代码来源:TaskData.java

示例6: getSelectionScripts

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@Cascade(CascadeType.ALL)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData")
@OnDelete(action = OnDeleteAction.CASCADE)
public List<SelectionScriptData> getSelectionScripts() {
    return selectionScripts;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:7,代码来源:TaskData.java

示例7: getDataspaceSelectors

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@Cascade(CascadeType.ALL)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData")
@OnDelete(action = OnDeleteAction.CASCADE)
public List<SelectorData> getDataspaceSelectors() {
    return dataspaceSelectors;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:7,代码来源:TaskData.java

示例8: getVariables

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@Cascade(org.hibernate.annotations.CascadeType.ALL)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "jobData")
@OnDelete(action = OnDeleteAction.CASCADE)
public Map<String, JobDataVariable> getVariables() {
    return variables;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:7,代码来源:JobData.java

示例9: getTasks

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@OneToMany(mappedBy = "jobData", fetch = FetchType.LAZY)
@OnDelete(action = OnDeleteAction.CASCADE)
public List<TaskData> getTasks() {
    return tasks;
}
 
开发者ID:ow2-proactive,项目名称:scheduling,代码行数:6,代码来源:JobData.java

示例10: getUser

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@ManyToOne
@JoinColumn(name = FieldConstants.USER_ID, nullable = false)
@OnDelete(action = OnDeleteAction.CASCADE)
public User getUser() {
	return user;
}
 
开发者ID:tilioteo,项目名称:hypothesis,代码行数:7,代码来源:UserPermission.java

示例11: getGroup

import org.hibernate.annotations.OnDelete; //导入依赖的package包/类
@ManyToOne
@JoinColumn(name = FieldConstants.GROUP_ID, nullable = false)
@OnDelete(action = OnDeleteAction.CASCADE)
public Group getGroup() {
	return group;
}
 
开发者ID:tilioteo,项目名称:hypothesis,代码行数:7,代码来源:GroupPermission.java


注:本文中的org.hibernate.annotations.OnDelete类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。