-->
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: cache configuration
PostPosted: Mon Feb 28, 2005 2:33 am 
Beginner
Beginner

Joined: Thu Jan 20, 2005 3:25 pm
Posts: 22
Is there any way to specify a cache name inside the hbm.xml?
I'd like to assign several objects into one specific ehcache... How could I do that?

HD.


Top
 Profile  
 
 Post subject: Re: cache configuration
PostPosted: Thu May 21, 2009 9:39 pm 
Newbie

Joined: Wed Mar 18, 2009 10:30 am
Posts: 2
you can specify like .....

<hibernate-configuration>
<session-factory>
...
<property name="hibernate.cache.provider_class">
org.hibernate.cache.EHCacheProvider
</property>
...
</session-factory>
</hibernate-configuration>

_________________
Srinivasa dutt Pulipaka
J2EE Architect Atlanta GA


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.