本文整理汇总了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;
}