- Some queries regarding fetch strategies in hibernate and relation of fetchtype with fetchmode?
- @OneToMany(mappedBy = "department", cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true)
- @Fetch(value = FetchMode.SELECT)
- @BatchSize(size = 10)
- private Set<EmployeeData> employees = new HashSet<EmployeeData>();