本文整理匯總了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;
}
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}