Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5722,18 +5722,18 @@ final void unprepareUnreferencedPreparedStatementHandles(boolean force) {
}

/**
* Returns true if statement pooling is disabled.
* Determine whether statement pooling is disabled.
*
* @return
* @return true if statement pooling is disabled, false if it is enabled.
*/
public boolean getDisableStatementPooling() {
return this.disableStatementPooling;
}

/**
* Sets statement pooling to true or false;
* Disable/enable statement pooling.
*
* @param value
* @param value true to disable statement pooling, false to enable it.
*/
public void setDisableStatementPooling(boolean value) {
this.disableStatementPooling = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -784,16 +784,16 @@ public int getStatementPoolingCacheSize() {
}

/**
* Sets the statement pooling to true or false
* @param disableStatementPooling
* Disable/enable statement pooling.
* @param disableStatementPooling true to disable statement pooling, false to enable it.
*/
public void setDisableStatementPooling(boolean disableStatementPooling) {
setBooleanProperty(connectionProps, SQLServerDriverBooleanProperty.DISABLE_STATEMENT_POOLING.toString(), disableStatementPooling);
}

/**
* Returns true if statement pooling is disabled.
* @return
* Determine whether statement pooling is disabled.
* @return true if statement pooling is disabled, false if it is enabled.
*/
public boolean getDisableStatementPooling() {
boolean defaultValue = SQLServerDriverBooleanProperty.DISABLE_STATEMENT_POOLING.getDefaultValue();
Expand Down