How is a connection created?
How is a connection created?
Override and set to false if the maximum pool size can temporarilly be expanded to avoid pool starvation
Override and set to false if the maximum pool size can temporarilly be expanded to avoid pool starvation
The logic for whether we can expand the pool beyond the current size.
The logic for whether we can expand the pool beyond the current size. By default, the logic tests allowTemporaryPoolExpansion && poolSize <= doNotExpandBeyond
The absolute maximum that this pool can extend to The default is 20.
The absolute maximum that this pool can extend to The default is 20. Override this method to change.
Override this method if you want something other than 4 connections in the pool
Override this method if you want something other than 4 connections in the pool
Test the connection.
Test the connection. By default, setAutoCommit(false), but you can do a real query on your RDBMS to see if the connection is alive