本文整理汇总了Java中javax.persistence.FetchType.LAZY属性的典型用法代码示例。如果您正苦于以下问题:Java FetchType.LAZY属性的具体用法?Java FetchType.LAZY怎么用?Java FetchType.LAZY使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类javax.persistence.FetchType
的用法示例。
在下文中一共展示了FetchType.LAZY属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getDiskShares
/** @return . */
@OneToMany(fetch = FetchType.LAZY, mappedBy = "diskInfo")
public Set<DiskShare> getDiskShares() {
return this.diskShares;
}
示例2: getShares
@XmlTransient
@LazyCollection(LazyCollectionOption.EXTRA)
@OneToMany(mappedBy = "user", orphanRemoval=true, fetch=FetchType.LAZY, cascade=CascadeType.ALL)
public List<Share> getShares() {return shares;}
示例3: getWhitelistInfos
/** @return . */
@OneToMany(fetch = FetchType.LAZY, mappedBy = "whitelistService")
public Set<WhitelistInfo> getWhitelistInfos() {
return this.whitelistInfos;
}
示例4: getParentStructRules
/** @return . */
@OneToMany(fetch = FetchType.LAZY, mappedBy = "childType")
public Set<PartyStructRule> getParentStructRules() {
return this.parentStructRules;
}
示例5: getDiskInfo
/** @return null. */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "INFO_ID")
public DiskInfo getDiskInfo() {
return this.diskInfo;
}
示例6: getPortalInfo
/** @return null. */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "INFO_ID")
public PortalInfo getPortalInfo() {
return this.portalInfo;
}
示例7: getReportQuery
/** @return null. */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "QUERY_ID")
public ReportQuery getReportQuery() {
return this.reportQuery;
}
示例8: getActivityInfo
/** @return null. */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "INFO_ID")
public ActivityInfo getActivityInfo() {
return this.activityInfo;
}
示例9: getBpmConfBase
/** @return 外键,流程配置. */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "CONF_BASE_ID")
public BpmConfBase getBpmConfBase() {
return this.bpmConfBase;
}
示例10: getTaskDeadlines
/** @return . */
@OneToMany(fetch = FetchType.LAZY, mappedBy = "taskInfo")
public Set<TaskDeadline> getTaskDeadlines() {
return this.taskDeadlines;
}
示例11: getPlmProject
/** @return null. */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "PROJECT_ID")
public PlmProject getPlmProject() {
return this.plmProject;
}
示例12: getAccountAliases
/** @return . */
@OneToMany(fetch = FetchType.LAZY, mappedBy = "accountInfo")
public Set<AccountAlias> getAccountAliases() {
return this.accountAliases;
}
示例13: getPerm
/** @return 外键,权限. */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "PERM_ID")
public Perm getPerm() {
return this.perm;
}
示例14: getLancamentos
@OneToMany(mappedBy = "funcionario", fetch = FetchType.LAZY, cascade = CascadeType.ALL)
public List<Lancamento> getLancamentos() {
return lancamentos;
}
示例15: getCmsCatalog
/** @return null. */
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "PARENT_ID")
public CmsCatalog getCmsCatalog() {
return this.cmsCatalog;
}