Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to find database is up or down ?

843854Jan 2 2003 — edited Jan 2 2003
Hi All,

I have written a custom connection pooling in java however I need to find whether the database is up and running or it is down. So is there any way other than simply writing a thread that can execute a simple query like "select 1 from dual" for a periodic time ??

How to find whether the database is down(stopped or coldback of database) or up and running ??

Thanks & Regards,
Kumar.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 30 2003
Added on Jan 2 2003
3 comments
854 views