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