Erkki Mickelsson commented on an issue
Hibernate ORM / New Feature HHH-1523
Rebuild fetches from query-cache hits
I have two domain objects - Employee and Department - and there is a 1:N relationship from Department to Employee. When I join fetch an Employee with its Department, without query cache enabled, it works fine. If I enable query cache for this same query, it bombs with a LazyInitializationException.
Notes:
  1) We get this error only if query cache is ena...