I want to know why we need to use both @Fetch(FetchMode.SELECT) and fetch = FetchType.LAZY .fetchMode.select itself tells that all association should be loaded as lazy then why another term? `
@OneToMany(fetch = FetchType.LAZY, mappedBy = "stock")
@Cascade(CascadeType.ALL)
@Fetch(FetchMode.SELECT)
@BatchSize(size = 10)
public Set<StockDailyRecord> getStockDailyRecords() {
return this.stockDailyRecords;
}
`