From: Peter N. (JIRA) <no...@at...> - 2006-03-07 10:50:42
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1543?page=comments#action_22403 ] Peter Nigl commented on HHH-1543: --------------------------------- I'm looking forward to that fix, because that would improve our application a lot. I see your description, nonetheless I wonder that I can acces the data on the server (after doing the query) and when sent to the client they are gone (LazyInitializationException). > query cache and collection fetches > ---------------------------------- > > Key: HHH-1543 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1543 > Project: Hibernate3 > Type: Bug > Components: core > Reporter: Steve Ebersole > Assignee: Steve Ebersole > Priority: Minor > > > Whenever query results are served from the query cache, collections are not initialized (regardless of whether join fetching is specified in the query or the metadata). > For example, consider: > from Customer c > join fetch c.orders > When the info is pulled from the query cache, the Customer entity is rebuilt based on the Customer-id cached in the query cache. However, the Customer.orders role is never forced to initialize. It is left to initialize itself on first access. The same is true even if the fetching is enabled in the metadata. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |