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


Java LazyCollectionOption.FALSE屬性代碼示例

本文整理匯總了Java中org.hibernate.annotations.LazyCollectionOption.FALSE屬性的典型用法代碼示例。如果您正苦於以下問題:Java LazyCollectionOption.FALSE屬性的具體用法?Java LazyCollectionOption.FALSE怎麽用?Java LazyCollectionOption.FALSE使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在org.hibernate.annotations.LazyCollectionOption的用法示例。


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

示例1: getPassos

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(mappedBy="aula", cascade=CascadeType.ALL)
@JoinColumn(name="aula_id")
@OrderBy("ordem")
public List<Passo> getPassos() {
	return passos;
}
 
開發者ID:chesterbr,項目名稱:tf-bmac-ime-usp,代碼行數:7,代碼來源:Aula.java

示例2: getParametros

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(mappedBy = "passo", cascade = CascadeType.ALL)
@JoinColumn(name = "passo_id")
@OrderBy("ordem")
public List<Parametro> getParametros() {
	return parametros;
}
 
開發者ID:chesterbr,項目名稱:tf-bmac-ime-usp,代碼行數:7,代碼來源:Passo.java

示例3: getRoles

@ManyToMany(cascade = { CascadeType.PERSIST, CascadeType.MERGE })
@JoinTable(name = TableConstants.USER_ROLE_TABLE, joinColumns = @JoinColumn(name = FieldConstants.USER_ID), inverseJoinColumns = @JoinColumn(name = FieldConstants.ROLE_ID))
@Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE)
@LazyCollection(LazyCollectionOption.FALSE)
public Set<Role> getRoles() {
	return roles;
}
 
開發者ID:tilioteo,項目名稱:hypothesis,代碼行數:7,代碼來源:User.java

示例4: getMappingRecords

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
@JoinColumn(name="MAPPINGID", referencedColumnName="ID")
public List<MappingRecord> getMappingRecords() {
    return this.mappingRecords;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:6,代碼來源:Mapping.java

示例5: getSourceItemDefinitions

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
@JoinColumn(name="MAPPINGID", referencedColumnName="ID")
public List<AbstractMappedItem> getSourceItemDefinitions() {
    return this.sourceItemDefinitions;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:6,代碼來源:Mapping.java

示例6: getTargetItemDefinitions

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
@JoinColumn(name="TARGETMAPPINGID", referencedColumnName="ID")
public List<AbstractMappedItem> getTargetItemDefinitions() {
    return this.targetItemDefinitions;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:6,代碼來源:Mapping.java

示例7: getSoftware

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "portal", orphanRemoval = true)
public List<Software> getSoftware() {
    return this.software;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:5,代碼來源:Portal.java

示例8: getContent

@LazyCollection(LazyCollectionOption.FALSE)
@ManyToMany(cascade = { PERSIST, MERGE })
@JoinTable(name = "BLOCKARM",  joinColumns = { @JoinColumn(name = "BLOCKID") }, inverseJoinColumns = { @JoinColumn(name = "ARMID") })
public List<TreatmentArm> getContent() {
    return this.content;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:6,代碼來源:Block.java

示例9: getBlocks

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(mappedBy = "blockData", cascade = CascadeType.ALL)
@MapKeyColumn(name="MAPKEY")
public Map<String, Block> getBlocks() {
    return this.blocks;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:6,代碼來源:BlockRandomisationData.java

示例10: getSubjects

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(mappedBy="treatmentArm", fetch=FetchType.LAZY)
public List<TrialSubject> getSubjects() {
    return this.subjects;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:5,代碼來源:TreatmentArm.java

示例11: getPrognosticVariables

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch=FetchType.LAZY, mappedBy = "subject")
public List<PrognosticVariable<?>> getPrognosticVariables() {
    return this.prognosticVariables;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:5,代碼來源:TrialSubject.java

示例12: getStrata

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(targetEntity=AbstractConstraint.class, cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "criterion", orphanRemoval = true)
public List<C> getStrata() {
    return this.strata;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:5,代碼來源:AbstractCriterion.java

示例13: getCurriculumVitaeItems

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "person", orphanRemoval = true)
public List<CurriculumVitaeItem> getCurriculumVitaeItems() {
    return this.curriculumVitaeItems;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:5,代碼來源:Person.java

示例14: getStudyPersonnel

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "person")
public List<StudyPerson> getStudyPersonnel() {
    return this.participatingInStudies;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:5,代碼來源:Person.java

示例15: getTreatmentArms

@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "study", orphanRemoval = true)
public List<TreatmentArm> getTreatmentArms() {
    return this.treatmentArms;
}
 
開發者ID:ddRPB,項目名稱:rpb,代碼行數:5,代碼來源:Study.java


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