Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.33 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Some queries regarding fetch strategies in hibernate and relation of fetchtype with fetchmode?
  2. @OneToMany(mappedBy = "department", cascade = CascadeType.ALL, fetch = FetchType.EAGER,      orphanRemoval = true)
  3.  @Fetch(value = FetchMode.SELECT)
  4.  @BatchSize(size = 10)
  5.  private Set<EmployeeData> employees = new HashSet<EmployeeData>();