Since I'm not Hibernate expert, I just want to clearify something - if someone uses HQL left join fetching for obtaining entity with children entities, thus practicaly disabling lazy initialization for that collections in runtime, it brings complications when he enables second-level cache for that entity afterwards?
I understand that second-level cache will be utilized when entity is loaded by ID, but since I was forced change load(ID) into fetch join HQL query, this caching won't get utilized anymore, right? I am practicly forced to apply query cache for that HQL query in that case, right?
-Vjeran
|