-->
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.  [ 4 posts ] 
Author Message
 Post subject: Can Hibernate + JBossCache Synchronize Databases?
PostPosted: Sun Feb 26, 2006 11:44 am 
Newbie

Joined: Sat Feb 25, 2006 8:19 am
Posts: 7
Hibernate version: 3.0.5

Name and version of the database you are using: Oracle 10g

I use Hibernate on two separate mchines, each with its own database (the same schema on both machines).
I use JBoss Cache as Hibernate's second level cache.
If I set the JBoss Cache to synchronize the cache across the two machines (clustered configuration), will Hibernate synchronize the databases content whenever the cache is updated?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 26, 2006 12:02 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
no, it is a *cache* not a database.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Can I set a cluster of two machines with two separate databa
PostPosted: Tue Feb 28, 2006 10:25 am 
Newbie

Joined: Sat Feb 25, 2006 8:19 am
Posts: 7
Can I use a configuration where I have two machines, each with its own database (the same schema) and the TreeCache is clustered over the two mchines?

If I can, what will happen with the inconsistency between the data in the cache and the data in the database? which data will be returned to a caller?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 28, 2006 10:32 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
undefined

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.