当前位置: 首页>>代码示例>>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;未经允许,请勿转载。