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


Java BatchSize類代碼示例

本文整理匯總了Java中org.hibernate.annotations.BatchSize的典型用法代碼示例。如果您正苦於以下問題:Java BatchSize類的具體用法?Java BatchSize怎麽用?Java BatchSize使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


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

示例1: setBatchSize

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
public void setBatchSize(BatchSize sizeAnn) {
	if ( sizeAnn != null ) {
		batchSize = sizeAnn.size();
	}
	else {
		batchSize = -1;
	}
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:9,代碼來源:EntityBinder.java

示例2: getTmMailNewsletter

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="tm_mail_newsletter_id")
public TmMailNewsletter getTmMailNewsletter() {
	return this.tmMailNewsletter;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:RelMailNewsletterGroup.java

示例3: getTmMailNewsletterGroup

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="tm_mail_newsletter_group_id")
public TmMailNewsletterGroup getTmMailNewsletterGroup() {
	return this.tmMailNewsletterGroup;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:RelMailNewsletterGroup.java

示例4: getReqServHotel

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@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,代碼行數:8,代碼來源:RelReqServHotelTmContactEasy.java

示例5: getTmContactEasy

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, cascade = CascadeType.ALL, optional = true)
@JoinColumn(name="contact_easy_id")
public TmContactEasy getTmContactEasy() {
	return this.tmContactEasy;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:RelReqServHotelTmContactEasy.java

示例6: getServTransfer

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="serv_transfers_id")
public ServTransfer getServTransfer() {
	return this.servTransfer;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:RelServTransferTmContact.java

示例7: getTmContact

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@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,代碼行數:8,代碼來源:RelServTransferTmContact.java

示例8: getInfoContactInformation

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, cascade = CascadeType.ALL)
@JoinColumn(name="contactinformation_id")
public InfoContactInformation getInfoContactInformation() {
	return this.infoContactInformation;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:ServHotel.java

示例9: getLocationAddress

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, cascade = CascadeType.ALL)
@JoinColumn(name="address_id")
public LocationAddress getLocationAddress() {
	return this.locationAddress;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:ServHotel.java

示例10: getPaymentDetails

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@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,代碼行數:8,代碼來源:ServHotel.java

示例11: getServHotel

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="serv_hotel_id")
public ServHotel getServHotel() {
	return this.servHotel;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:RelServHotelImage.java

示例12: getTmImage

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@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,代碼行數:8,代碼來源:RelServHotelImage.java

示例13: getDocDocuments

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="doc_documents_id")
public DocDocuments getDocDocuments() {
	return this.docDocuments;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:RelServHotelDocDocuments.java

示例14: getUserDetail

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@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,代碼行數:8,代碼來源:RelUserDetails.java

示例15: getUsers

import org.hibernate.annotations.BatchSize; //導入依賴的package包/類
@Fetch(FetchMode.JOIN)
@BatchSize(size = 100)
@ManyToOne(fetch=FetchType.EAGER, optional = true)
@JoinColumn(name="users_id")
public Users getUsers() {
	return this.users;
}
 
開發者ID:gleb619,項目名稱:hotel_shop,代碼行數:8,代碼來源:RelUserDetails.java


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