-->
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: Web application Cache is not refreshed
PostPosted: Thu Jul 29, 2004 12:39 pm 
Newbie

Joined: Thu Jul 29, 2004 12:11 pm
Posts: 1
Hello,

I'm using Hibernate V2.1.2, MySQL V4.0.16, Tomcat 5.0.18

The Database is changed from two sources: a WebApp and a Daemon that runs on a single thread. They use the same code to access the database.

My problem is that the WebApp is ignorant to changes on the database outside of the webapp's scope, such as creating, deleting, etc. On the other hand, the single thread program (daemon) doesn't have that kind of problems.

Note: the webapp uses sessions for a single operation (1 per request), and the daemon uses a session for a cycle run.

1. How do we fix this?
2. Is it possible to clean the Hibernate cache (application scope- first level I think)?

Thank you very much,
Diogo


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.