subselect fix

This commit is contained in:
Timo Bejan 2022-03-14 12:50:03 +02:00
parent 878beb1015
commit a1e2a7e978

View File

@ -59,17 +59,17 @@ public class TypeEntity {
@Column
private boolean addToDictionaryAction;
@Fetch(FetchMode.SELECT)
@Fetch(FetchMode.SUBSELECT)
@BatchSize(size=500)
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
private List<DictionaryEntryEntity> entries = new ArrayList<>();
@Fetch(FetchMode.SELECT)
@Fetch(FetchMode.SUBSELECT)
@BatchSize(size=500)
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
private List<DictionaryFalsePositiveEntryEntity> falsePositiveEntries = new ArrayList<>();
@Fetch(FetchMode.SELECT)
@Fetch(FetchMode.SUBSELECT)
@BatchSize(size=500)
@OneToMany(cascade = ALL, mappedBy = "type", orphanRemoval = true, fetch = FetchType.LAZY)
private List<DictionaryFalseRecommendationEntryEntity> falseRecommendationEntries = new ArrayList<>();