本文整理匯總了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;
}