Driver.connect Timeout - Mailing list pgsql-jdbc

From Darin Ohashi
Subject Driver.connect Timeout
Date
Msg-id 4C8772F48690064984B91E6A5E362744210576@tempex.maplesoft.com
Whole thread Raw
Responses Re: Driver.connect Timeout
List pgsql-jdbc
Is there some way to specify a timeout in the Driver.connect url?

MySQL allows one to do the following:

"jdbc:mysql://host/database?socketTimeout=5000"

We are having some stability problems with the machine running the postgresql
server.  When some of our automated tests attempt to access the database when
the machine is down, they hang trying to open the connection.

Thanks

Darin

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: setArray()
Next
From: Kris Jurka
Date:
Subject: Re: Driver.connect Timeout