Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.2
-
None
-
Operating System: other
Platform: Other
-
35542
Description
Documnentation for BasicDataSource and in a number of other places say: setMaxIdle( 0 ) for no limit. But GenericObjectPool says that negative (-1 for instance) should be used for this purpose.
In our neighbour project developers tried 0 and pool appeared to be non-functional: a new connection was created each time. They said: oh, well, drop dbcp, it does not work!
I consider this doc update so critical that I'm submitting a patch.
Attachments
Attachments
Issue Links
- is depended upon by
-
POOL-33 [pool][patch] Docs lie: not maxTotal negative for no limit but non-positive
- Closed