Hi Isomorphic,
before I create a testcase just a short question: How does datasources.poolDynamicDataSources: true in server.properties work (in 12.0p)?
Does it create a pool per HTTP Request or a long lived pool used over all requests as long as the application runs?
Blama
before I create a testcase just a short question: How does datasources.poolDynamicDataSources: true in server.properties work (in 12.0p)?
Does it create a pool per HTTP Request or a long lived pool used over all requests as long as the application runs?
- Without the setting I'm seeing a breakpoint hit many times my DynamicDSGenerator for every RESTHandler DSRequest to this DataSource.
This is kinda expected (perhaps you need the DataSource many times while processing the request) - With the setting I'm seeing a breakpoint hit once my DynamicDSGenerator for every RESTHandler DSRequest to this DataSource.
This is unexpected, I'd only expect it to be hit for the 1st request (or at least I'd expect it to stop after a few hits. Few hits might be OK because of this sentence "so your DynamicDSGenerator will only be called enough times to populate the pool".
Blama
Comment