Purpose

Determines whether server-side prepared statements are created during the prepareStatement() API call or deferred to the execute() API call.

Valid Values

true | false

Behavior

If set to true, the driver defers server-side prepared statements to the execute() API call.

If set to false, the driver creates server-side prepared statements during the prepareStatement() API call.

Notes

  • When this property is set to true, the use of server-side prepared statements is defined by the PrepareThreshold property value.
  • When this property is set to false, the existing prepared statement is used during the execute() API call.

Data Source Methods

public Boolean getEnablePrepareThreshold()

public void setEnablePrepareThreshold(Boolean)

Default

true

Data Type

Boolean

See also

PrepareThreshold