skip to main content
Connection Property Descriptions : WSPoolSize
  

Try DataDirect Drivers Now

WSPoolSize

Purpose

Specifies the maximum number of Salesforce sessions the driver uses. This allows the driver to have multiple web service requests active when multiple JDBC connections are open, thereby improving throughput and performance.

Valid Values

x
where:
x
is the number of Salesforce sessions the driver uses to distribute calls. This value should not exceed the number of sessions permitted by your Salesforce account.

Notes

*You can improve performance by increasing the number of sessions specified by this property. By increasing the number of sessions the driver uses, you can improve throughput by distributing calls across multiple sessions when multiple connections are active.
*The maximum number of sessions is determined by the setting of WSPoolSize for the connection that initiates the session. For subsequent connections to an active session, the setting is ignored and a warning is returned. To change the maximum number of sessions, close all connections using the Salesforce driver; then, open a new Salesforce connection with desired limit specified for this property.

Data Source Method

setWSPoolSize

Default

1

Data Type

Int

See also

Performance Considerations