| Hibernate return correct value with: "select m.employees from Manager m" has shown in the provided use case. Are you telling me it's returning correct value even if it's not supported? And I should open an enhancement request to get this blocked? Or you are telling me that some query are supported to return query but NOT supported to be Query Cached? Any documentation about any of this? For example, if I create a Named Query that is marked to be cacheable I would think the official expectation is to throw an exception at initialization if it's not a valid use case. |