本文整理汇总了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;
}
示例2: getParametros
@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(mappedBy = "passo", cascade = CascadeType.ALL)
@JoinColumn(name = "passo_id")
@OrderBy("ordem")
public List<Parametro> getParametros() {
return parametros;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例7: getSoftware
@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "portal", orphanRemoval = true)
public List<Software> getSoftware() {
return this.software;
}
示例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;
}
示例9: getBlocks
@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(mappedBy = "blockData", cascade = CascadeType.ALL)
@MapKeyColumn(name="MAPKEY")
public Map<String, Block> getBlocks() {
return this.blocks;
}
示例10: getSubjects
@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(mappedBy="treatmentArm", fetch=FetchType.LAZY)
public List<TrialSubject> getSubjects() {
return this.subjects;
}
示例11: getPrognosticVariables
@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch=FetchType.LAZY, mappedBy = "subject")
public List<PrognosticVariable<?>> getPrognosticVariables() {
return this.prognosticVariables;
}
示例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;
}
示例13: getCurriculumVitaeItems
@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "person", orphanRemoval = true)
public List<CurriculumVitaeItem> getCurriculumVitaeItems() {
return this.curriculumVitaeItems;
}
示例14: getStudyPersonnel
@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "person")
public List<StudyPerson> getStudyPersonnel() {
return this.participatingInStudies;
}
示例15: getTreatmentArms
@LazyCollection(LazyCollectionOption.FALSE)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "study", orphanRemoval = true)
public List<TreatmentArm> getTreatmentArms() {
return this.treatmentArms;
}