getStatementPoolingCacheSize Method (SQLServerConnection)

Download JDBC driver

Returns the size of the prepared statement cache for this connection. '0' means caching not enabled.

Syntax

  
public int getStatementPoolingCacheSize()  

Return Value

An int that contains the value of statementPoolingCacheSize connection property.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerConnection Members
SQLServerConnection Class