subselect fix
This commit is contained in:
parent
878beb1015
commit
a1e2a7e978
@ -59,17 +59,17 @@ public class TypeEntity {
|
|||||||
@Column
|
@Column
|
||||||
private boolean addToDictionaryAction;
|
private boolean addToDictionaryAction;
|
||||||
|
|
||||||
@Fetch(FetchMode.SELECT)
|
@Fetch(FetchMode.SUBSELECT)
|
||||||
@BatchSize(size=500)
|
@BatchSize(size=500)
|
||||||
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
|
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
|
||||||
private List<DictionaryEntryEntity> entries = new ArrayList<>();
|
private List<DictionaryEntryEntity> entries = new ArrayList<>();
|
||||||
|
|
||||||
@Fetch(FetchMode.SELECT)
|
@Fetch(FetchMode.SUBSELECT)
|
||||||
@BatchSize(size=500)
|
@BatchSize(size=500)
|
||||||
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
|
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
|
||||||
private List<DictionaryFalsePositiveEntryEntity> falsePositiveEntries = new ArrayList<>();
|
private List<DictionaryFalsePositiveEntryEntity> falsePositiveEntries = new ArrayList<>();
|
||||||
|
|
||||||
@Fetch(FetchMode.SELECT)
|
@Fetch(FetchMode.SUBSELECT)
|
||||||
@BatchSize(size=500)
|
@BatchSize(size=500)
|
||||||
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
|
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
|
||||||
private List<DictionaryFalseRecommendationEntryEntity> falseRecommendationEntries = new ArrayList<>();
|
private List<DictionaryFalseRecommendationEntryEntity> falseRecommendationEntries = new ArrayList<>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user