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


Java FetchMode.JOIN屬性代碼示例

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


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

示例1: getReqServHotel

@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="req_serv_hotel_id")
public ReqServHotel getReqServHotel() {
	return this.reqServHotel;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:7,代碼來源:RelReqServHotelTmContactEasy.java

示例2: getTmImage

@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="image_id")
public TmImage getTmImage() {
	return this.tmImage;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:7,代碼來源:RelServHotelRoomImage.java

示例3: getTmContact

@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="tm_contact_id")
public TmContact getTmContact() {
	return this.tmContact;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:7,代碼來源:RelServTransferTmContact.java

示例4: getTagByTagName

@Id
@Fetch(FetchMode.JOIN)
@ManyToOne(cascade = {CascadeType.MERGE, CascadeType.REFRESH, CascadeType.PERSIST})
@JoinColumn(name = "TAG_NAME", referencedColumnName = "NAME",
        nullable = false, insertable = false, updatable = false)
public TagEntity getTagByTagName() {
    return tagByTagName;
}
 
開發者ID:vhontar,項目名稱:WebBoxter,代碼行數:8,代碼來源:QuestionTagId.java

示例5: getPaymentDetails

@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, cascade = CascadeType.ALL)
@JoinColumn(name="payment_details_id")
public PaymentDetails getPaymentDetails() {
	return this.paymentDetails;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:7,代碼來源:ServHotel.java

示例6: getTagByTagName

@Id
@Fetch(FetchMode.JOIN)
@ManyToOne(cascade = {CascadeType.MERGE, CascadeType.REFRESH, CascadeType.PERSIST})
@JoinColumn(name = "TAG_NAME", referencedColumnName = "NAME", nullable = false)
public TagEntity getTagByTagName() {
    return tagByTagName;
}
 
開發者ID:vhontar,項目名稱:WebBoxter,代碼行數:7,代碼來源:QuestionTagEntity.java

示例7: getUserDetail

@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="user_details_id")
public UserDetail getUserDetail() {
	return this.userDetail;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:7,代碼來源:RelUserDetails.java

示例8: getRelatorioVO

@ManyToOne
@Fetch(FetchMode.JOIN)
@NotNull
public RelatorioVO getRelatorioVO() {
	return relatorioVO;
}
 
開發者ID:darciopacifico,項目名稱:omr,代碼行數:6,代碼來源:ExamVO.java

示例9: getCustomer

@OneToOne
@JoinColumn(name = "customer_id", insertable = false, updatable = false)
@Fetch(FetchMode.JOIN)
public Customer getCustomer() {
	return customer;
}
 
開發者ID:dynamo2,項目名稱:tianma,代碼行數:6,代碼來源:CustomerAccountRelationship.java

示例10: getAccount

@OneToOne
@JoinColumn(name = "bound_account", referencedColumnName = "account", insertable = false, updatable = false)
@Fetch(FetchMode.JOIN)
public Account getAccount() {
	return account;
}
 
開發者ID:dynamo2,項目名稱:tianma,代碼行數:6,代碼來源:CustomerAccountRelationship.java

示例11: getPerson

@ManyToOne(cascade = { CascadeType.ALL })
@Fetch(FetchMode.JOIN)
@JoinColumn(name = "person_id", insertable = true, updatable = true)
public Person getPerson() {
	return person;
}
 
開發者ID:dynamo2,項目名稱:tianma,代碼行數:6,代碼來源:Account.java

示例12: getExamVariantVO

/**
 * @return the examVariantVO
 */
@ManyToOne
@Fetch(FetchMode.JOIN)
public ExamVariantVO getExamVariantVO() {
	return examVariantVO;
}
 
開發者ID:darciopacifico,項目名稱:omr,代碼行數:8,代碼來源:ParticipationVO.java

示例13: getPessoaVO

@ManyToOne
@Fetch(FetchMode.JOIN)
public PessoaVO getPessoaVO() {
	return pessoaVO;
}
 
開發者ID:darciopacifico,項目名稱:omr,代碼行數:5,代碼來源:ParticipationVO.java

示例14: getKeyboard

@OneToOne(cascade = { CascadeType.ALL })
@JoinColumn(name = "keyboard_id")
@Fetch(FetchMode.JOIN)
public Keyboard getKeyboard() {
	return keyboard;
}
 
開發者ID:zdtjss,項目名稱:nway-jdbc,代碼行數:6,代碼來源:Computer.java

示例15: getGrupoVO

/**
 * @return the grupoVO
 */
@ManyToOne(fetch = FetchType.LAZY)
@Fetch(FetchMode.JOIN)
public GrupoVO getGrupoVO() {
	return grupoVO;
}
 
開發者ID:darciopacifico,項目名稱:omr,代碼行數:8,代碼來源:ParticipationVO.java


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