Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.04
I 've mapped an sql view joining 4 entities within a single class.
The class is comprised of the 4 entities as components with their mappings (unfortunately) repeated in the mapping of the "view" class.
The problem is that the components are not stored in the session cache
and if I later try to load them I get the extra query hit( which I was what I was hoping to avoid)
What do I have to do to convince the session cache to store the objects
(or for that matter the second level cache for at least the session's duration)?
Thanks