-->
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: How to load an object from DB directly and not from cache ?
PostPosted: Wed Jun 01, 2005 12:56 pm 
Regular
Regular

Joined: Sat May 15, 2004 4:27 am
Posts: 79
Hi,

i am working with Hibernate 2.1.6 / Jboss / Oracle 9i. I noticed that Hibernate takes too many times for updating my objects in the DB.
I have to questions :

1 - Where does Hibernate retrieve its datas when i am performing a query ? From DB directly or the cache (second level) ? The same
question when i am using the session.load() or session.get() ?

2 - Is it possible to bypass the cache ? If yes how to proceed ?

Thanks

---
Sebastien


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.