Is there any particular reason that there is no way to set a timeout on acquiring a connection from the connection pool? It seems like this would be very useful, and also trivial to add to the driver. More than happy to submit a patch, but this is such a glaring omission I'm guessing there must be some reason for it.
On Tue, 18 May 2010, harryh wrote: > Is there any particular reason that there is no way to set a timeout > on acquiring a connection from the connection pool? It seems like > this would be very useful, and also trivial to add to the driver. > More than happy to submit a patch, but this is such a glaring omission > I'm guessing there must be some reason for it. The connection pool included with the driver is pretty bare bones. It's functional, but not a whole lot more. In general we've steered people who need more than basic pooling to other projects like DBCP because it doesn't make sense to replicate all of that functionality in the driver's pool when DBCP is driver independent. Kris Jurka
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера