-->
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: Hibernate and database clusters
PostPosted: Wed May 12, 2004 10:47 am 
Newbie

Joined: Wed Nov 05, 2003 6:47 am
Posts: 14
Hi,

we are using Hibernate with Tomcat and DBCP connection pooling engine in our project, and it works very good so far. As database we are using a single Oracle instance. Now we are thinking about different DB clustering solutions in order to minimize/avoid application downtimes due to database downtimes. Oracle cluster seems to be a very expensive option, so we are looking for an acceptable alternative. I.e. we need some mechanism which can serve several Oracle instances (which possibly interact via replication) transparently to the application. Is there any opportunity to do that with some smart connection pooling engine, or are there any architectural possibilities to do that at the Hibernate level, e.g. if I execute a HQL query and one DB instance is not available then query is dispatched to another DB instance?

Regards,
Michail.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 12, 2004 10:48 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
You should probably try a clustered JDBC driver.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 12, 2004 11:01 am 
Newbie

Joined: Wed Nov 05, 2003 6:47 am
Posts: 14
thank you for the quick reply. Do you know some clustered JDBC driver for Oracle? I've heard that WebLogic has something like that...

Michail.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 12, 2004 11:03 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
try CJDBC


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.