To enable statement pooling, set the driver MaxPooledStatements connection property to a positive integer. For example, the following connection URL enables statement pooling and sets the maximum number of pooled prepared statements for this connection to 20.