Database reset connection

Поиск
Список
Период
Сортировка
От Manoj Palhade
Тема Database reset connection
Дата
Msg-id CADRBn6Ky-bEODYK=Qazk-rvyGh+4f_wci2UZByObLOHC0qHp2g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Database reset connection
Re: Database reset connection
Список pgsql-jdbc

Hi,

I have Java class which implements the Database(Postgres) related functionality.

The problem is if Database stopped and then restart then My this class throws SQLException as connection got reset(database is up and running).

Is there any way that after Database restarted; my class automatically Connection to database and work as expected instead of throwing SQLException.

Is there anyway with Properties as a parameter to DriverManager.getConnection().

Thanks and Regards,

Manoj Palhade

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: rob stone
Дата:
Сообщение: Re: Database reset connection
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Database reset connection