Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> detect connection problems

detect connection problems

From: Johan Eriksson <valpis_at_gmail.com>
Date: Tue, 23 May 2006 16:16:45 +0200
Message-ID: <6c133d8a0605230716q3343b29fn2a8f57d3c36e8be8@mail.gmail.com>


Hi all

A developer asked me a question I couldn't give any answer to. Our application connect through a connection pool (hibernate) to the database and the application should shut down if it can't create a connection to db or if the connection is lost, all other failures should not shut down but just give the error.

How could you catch only these messages? To figure out all possible ora errors and have logic for these doesn't seem like a good idea. Anyone that has done something similiar?

/Johan

--
http://www.freelists.org/webpage/oracle-l
Received on Tue May 23 2006 - 09:16:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US