本文整理匯總了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;
}
示例2: getTmImage
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="image_id")
public TmImage getTmImage() {
return this.tmImage;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例8: getRelatorioVO
@ManyToOne
@Fetch(FetchMode.JOIN)
@NotNull
public RelatorioVO getRelatorioVO() {
return relatorioVO;
}
示例9: getCustomer
@OneToOne
@JoinColumn(name = "customer_id", insertable = false, updatable = false)
@Fetch(FetchMode.JOIN)
public Customer getCustomer() {
return customer;
}
示例10: getAccount
@OneToOne
@JoinColumn(name = "bound_account", referencedColumnName = "account", insertable = false, updatable = false)
@Fetch(FetchMode.JOIN)
public Account getAccount() {
return account;
}
示例11: getPerson
@ManyToOne(cascade = { CascadeType.ALL })
@Fetch(FetchMode.JOIN)
@JoinColumn(name = "person_id", insertable = true, updatable = true)
public Person getPerson() {
return person;
}
示例12: getExamVariantVO
/**
* @return the examVariantVO
*/
@ManyToOne
@Fetch(FetchMode.JOIN)
public ExamVariantVO getExamVariantVO() {
return examVariantVO;
}
示例13: getPessoaVO
@ManyToOne
@Fetch(FetchMode.JOIN)
public PessoaVO getPessoaVO() {
return pessoaVO;
}
示例14: getKeyboard
@OneToOne(cascade = { CascadeType.ALL })
@JoinColumn(name = "keyboard_id")
@Fetch(FetchMode.JOIN)
public Keyboard getKeyboard() {
return keyboard;
}
示例15: getGrupoVO
/**
* @return the grupoVO
*/
@ManyToOne(fetch = FetchType.LAZY)
@Fetch(FetchMode.JOIN)
public GrupoVO getGrupoVO() {
return grupoVO;
}