Bug 56789 - DataSourceProxy.getPool() returns NULL when pool is not started
DataSourceProxy.getPool() returns NULL when pool is not started
Status: RESOLVED FIXED
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool
unspecified
PC Mac OS X 10.4
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2014-07-29 20:50 UTC by Bertrand Renuart
Modified: 2014-08-07 23:29 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Renuart 2014-07-29 20:50:59 UTC
The method DataSourceProxy.getPool() returns null if the pool is not started instead of lazily initialise the pool like the other methods.

Can't the method simply be rewritten to return the result of the "createPool()" method ?
Comment 1 Filip Hanik 2014-08-07 23:29:17 UTC
Fixed in r1616629