-->
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: Connection pooling and database down
PostPosted: Thu Aug 02, 2007 5:52 am 
Newbie

Joined: Thu Aug 02, 2007 5:13 am
Posts: 1
I'm using Hibernate 3.3.2. I've got a working Hibernate application that successfully reads from an Oracle database.

What I'm not sure about is that at night, the database is turned off whilst backups go on. This aint a problem - I can easily say at a certain time, use a different configuration and "point" my application to another database.
But this, I think, will leave the original connections floating around. Is Hibernate/c3po clever enough to re-establish and then re-use connections when the original database comes back again, or will it re connection with a new set of connections - leaving the original sewt behind ? (thinking of memory leaks and such like...)

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Problems with Session and transaction handling?

Read this: http://hibernate.org/42.html


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.