@Julien @Titi Even with that patch, the query will cause LazyInitializationExceptions when the dependencies are expired from the cache but the cached query is not.
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...
This message was sent by Atlassian JIRA (v6.1-OD-09-WN#6144-sha1:62dfc48)