-->
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: multiple JPA applications, same database, stale data
PostPosted: Tue Jan 06, 2009 2:19 am 
Newbie

Joined: Tue Jan 06, 2009 1:24 am
Posts: 1
I have just finished porting a simple Hibernate application to JPA. The same code is used by multiple distributed web applications, each application having the ability to modify and read the *same* database. In the original application we used ehcache to reload objects on a regular basis (every few minutes). What is the best way to achieve this using Hibernate JPA? At the moment, changes made through one web application instance are *never* reflected in the other instances. eg adding a customer through French application instance will not be available in the customer list in the German instance - even though it exists in the database. This was really simple with hibernate + ehcache as the customer object list was refreshed every minute on *all* instances. How can this be achieved using Hibernate JPA? Many thanks in advance!


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.