-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Views , components and session cache
PostPosted: Fri Jun 24, 2005 2:09 pm 
Newbie

Joined: Wed Jun 22, 2005 10:07 am
Posts: 5
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.