-->
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.  [ 2 posts ] 
Author Message
 Post subject: region_prefix clarification
PostPosted: Sat Jul 17, 2004 5:22 pm 
Senior
Senior

Joined: Sat Jul 17, 2004 5:16 pm
Posts: 143
Hi,

I am using Hibernate 2.1.4. When configuring the region_prefix for second level cache:

hibernate.cache.region_prefix A prefix to use for second-level cache region names.
eg. prefix

Is this only important if I am using the oscache package for another purpose besides hibernate? Or is it also important if I am connecting to two databases simultaneously in which case each configuration for each database needs a different prefix?

Im assuming for two databases I need two different Configurations and SessionFactories.

Thanks,
Chris


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 17, 2004 5:22 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Yes, usually you should use a diff prefix for each SF


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

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.