| От | G.Nagarajan |
|---|---|
| Тема | connection pooling and open statement objects |
| Дата | |
| Msg-id | NFBBIOPECKPCJJHHBOGJKEDPDHAA.gnagarajan@dkf.de обсуждение исходный текст |
| Ответы |
Re: connection pooling and open statement objects
|
| Список | pgsql-jdbc |
hi, In an earlier discussion, someone had remarked that if the statment objects are not explicitly closed, the resources allocated to it are not released. ie, I have code like this: - get Connection object from connection pool - create statement object - create resultset using the statement - process the resultset - return the connection object to the connection pool This cycle is repeated for all the sql statements in the application. If the memory will not be released till the statement object is explicitly closed, then it might lead to a memory leak later. any suggestion or remarks are welcome regards, Nagarajan.
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера