-->
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: HashtableCacheProvider examples?
PostPosted: Tue Sep 09, 2003 5:50 am 
Newbie

Joined: Wed Sep 03, 2003 9:08 am
Posts: 18
Is there any examples/doc for setting up HashtableCacheProvider that is provided in 2.1r3?

Also in the release notes it is said that "always bypass process-level cache for LockMode.READ". Does this mean if I make a session.load() call, Hibernate is going to bypass the cache? If so why it is like that?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2003 5:59 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Its just a property setting. Its even in the example hibernate.properties distributed with Hibernate.

Quote:
Also in the release notes it is said that "always bypass process-level cache for LockMode.READ". Does this mean if I make a session.load() call, Hibernate is going to bypass the cache? If so why it is like that?



No, LockMode.READ means "i want you to read the actual row". by default, load() only requests LockMode.NONE which means "get me the data from where ever you like".


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.