-->
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: Is the second level cache shared between multiple factories?
PostPosted: Mon Oct 24, 2005 12:40 pm 
Beginner
Beginner

Joined: Thu Sep 15, 2005 4:16 pm
Posts: 29
This isn't a bug, but a question. I've read through the relevant documentation and I'm still not sure. In Hibernate In Action it states that the second level cache is scoped to the session factory.

Our situation is that we need multiple session factories. One session factory provides general access to data in the db, where the other is primarily for dynamically configured objects. The second cache has a small subset of the primary cache's objects as well, which are used for certain information related to the dynamic objects.

I believe there are two questions:
    * Is Hibernate in Action correct?
    * Is there a way to control this?

I do realize that we could not use the cache for the shared data, but our access patterns lead me to think that these will be important from a scalability point of view.


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.