setDisableStatementPooling Method (SQLServerConnection)

DownloadDownload JDBC Driver

Sets statement pooling to true or false. If false, enables statement pooling to be used in coupling with statementPoolingCacheSize value > 0.

Syntax

  
public void setDisableStatementPooling(boolean disableStatementPooling)  

Parameters

disableStatementPooling

The new value of the disableStatementPooling connection property.

Exceptions

SQLServerException

Remarks

This method is available from JDBC driver version 6.4 and onward.

See Also

SQLServerConnection Members
SQLServerConnection Class