當前位置: 首頁>>代碼示例>>Java>>正文


Java FetchMode.SUBSELECT屬性代碼示例

本文整理匯總了Java中org.hibernate.annotations.FetchMode.SUBSELECT屬性的典型用法代碼示例。如果您正苦於以下問題:Java FetchMode.SUBSELECT屬性的具體用法?Java FetchMode.SUBSELECT怎麽用?Java FetchMode.SUBSELECT使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在org.hibernate.annotations.FetchMode的用法示例。


在下文中一共展示了FetchMode.SUBSELECT屬性的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getSequenciaAny

@OneToMany(mappedBy="expedientTipus", cascade={CascadeType.ALL}, fetch=FetchType.EAGER)
@Fetch(value = FetchMode.SUBSELECT)
@MapKey(name = "any")
@Sort(type = SortType.NATURAL)
public SortedMap<Integer, SequenciaAny> getSequenciaAny() {
	return sequenciaAny;
}
 
開發者ID:GovernIB,項目名稱:helium,代碼行數:7,代碼來源:ExpedientTipus.java

示例2: getSequenciaDefaultAny

@OneToMany(mappedBy="expedientTipus", cascade={CascadeType.ALL}, fetch=FetchType.EAGER)
@Fetch(value = FetchMode.SUBSELECT)
@MapKey(name = "any")
@Sort(type = SortType.NATURAL)
public SortedMap<Integer, SequenciaDefaultAny> getSequenciaDefaultAny() {
	return sequenciaDefaultAny;
}
 
開發者ID:GovernIB,項目名稱:helium,代碼行數:7,代碼來源:ExpedientTipus.java

示例3: getBadges

@ManyToMany
@JoinTable(name = "user_badge", joinColumns = { @JoinColumn(name = "user_id") }, inverseJoinColumns = { @JoinColumn(name = "badge_id") })
@Fetch(FetchMode.SUBSELECT)
@OrderBy("id")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public Set<Badge> getBadges() {
	return badges;
}
 
開發者ID:muzili90,項目名稱:SpringBBS,代碼行數:8,代碼來源:AcctUser.java

示例4: getRoleList

@ManyToMany
//�м����,��������Ĭ����������
@JoinTable(name = "ACCT_USER_ROLE", joinColumns = { @JoinColumn(name = "USER_ID") }, inverseJoinColumns = { @JoinColumn(name = "ROLE_ID") })
//Fecth���Զ���
@Fetch(FetchMode.SUBSELECT)
//���ϰ�id����.
@OrderBy("id")
//�����ж���id�Ļ���.
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public List<AcctRole> getRoleList() {
	return roleList;
}
 
開發者ID:muzili90,項目名稱:SpringBBS,代碼行數:12,代碼來源:AcctUser.java

示例5: getRegistreMembres

@OneToMany(mappedBy="registre", cascade={CascadeType.ALL}, fetch=FetchType.EAGER)
@OrderBy("ordre asc")
@Fetch(value = FetchMode.SUBSELECT)
public List<CampRegistre> getRegistreMembres() {
	return this.registreMembres;
}
 
開發者ID:GovernIB,項目名稱:helium,代碼行數:6,代碼來源:Camp.java

示例6: getEstats

@OneToMany(mappedBy="expedientTipus", fetch=FetchType.EAGER)
@OrderBy("ordre asc")
@Fetch(value = FetchMode.SUBSELECT)
public List<Estat> getEstats() {
	return this.estats;
}
 
開發者ID:GovernIB,項目名稱:helium,代碼行數:6,代碼來源:ExpedientTipus.java

示例7: getConsultes

@OneToMany(mappedBy="expedientTipus", fetch=FetchType.EAGER)
@Fetch(value = FetchMode.SUBSELECT)
public Set<Consulta> getConsultes() {
	return this.consultes;
}
 
開發者ID:GovernIB,項目名稱:helium,代碼行數:5,代碼來源:ExpedientTipus.java

示例8: getDominis

@OneToMany(mappedBy="expedientTipus", cascade={CascadeType.ALL}, fetch=FetchType.EAGER)
@Fetch(value = FetchMode.SUBSELECT)
public Set<Domini> getDominis() {
	return this.dominis;
}
 
開發者ID:GovernIB,項目名稱:helium,代碼行數:5,代碼來源:ExpedientTipus.java

示例9: getImageVOs

/**
 * @return the imageVOs
 */
@OneToMany(cascade=CascadeType.ALL,orphanRemoval=true,fetch=FetchType.EAGER)
@Fetch(FetchMode.SUBSELECT)
public List<ImageVO> getImageVOs() {
	return imageVOs;
}
 
開發者ID:darciopacifico,項目名稱:omr,代碼行數:8,代碼來源:CriterionVO.java


注:本文中的org.hibernate.annotations.FetchMode.SUBSELECT屬性示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。