| От | Oliver Jowett |
|---|---|
| Тема | Re: No automatic reconnect after network error |
| Дата | |
| Msg-id | 443C89F1.2050801@opencloud.com обсуждение исходный текст |
| Ответ на | Re: No automatic reconnect after network error ("Markus Riehl" <mriehl@skat.com>) |
| Список | pgsql-jdbc |
Markus Riehl wrote: > I think this means that the PostgreSQL JDBC driver doesn't support automatic > reconnection. And I don't see this feature on the Roadmap. Is it unusual to > use PostgreSQL in a multi server environment? It's unusual to have JDBC drivers automatically reconnect. I could see an argument for it if you could guarantee that the reconnection was invisible to the user .. but that's not the case here. The JDBC spec's Connection lifecycle seems to be aimed at a 1:1 mapping to real physical connections, anyway. Once it's closed for whatever reason, a Connection stays closed. If you want to do more work, you need to get a new Connection. -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера