Hi What would cause a connection to automatically close within a java program.It gets to a point where I have an inner loop that calls a recursive method that creates resultsets.But I am closing all my result sets, so I do not know why the connection simply closes itself.Please help. Clifton Zama
Clifton Zama wrote: > Hi > > What would cause a connection to automatically close within a java program.It > gets to a point where I have an inner loop that calls a recursive method that > creates resultsets.But I am closing all my result sets, so I do not know why > the connection simply closes itself.Please help. Turn logging on at the server (or turn the level of detail up). There will be a line saying why the connection closed. Presumably there is a status code available via JDBC too, but the server-side logs will tell you whether PG or your client is closing the connection. -- Richard Huxton Archonet Ltd
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера