Use JIT JDBC wrapper drivers

EAServer includes customized JDBC drivers for use by CMP entity beans to implement the performance optimizations described in “Just-in-time JDBC wrapper drivers”. Wrapper drivers are provided for Sybase and Oracle database drivers.

Table 4-1 lists the additional properties supported by the wrapper drivers. You can configure these properties on the Advanced tab in the Management Console Data Source Property pages, or by running <setProperties> in an Ant configuration script and setting them with nested <configProperty> commands.

Table 4-1: Sybase JIT JDBC wrapper driver properties

Property

Legal Values

Default Value

Description

jit:printWarnings

true/false

true

Enables all database warning messages received by wrapper driver to be printed in server log.

jit:maximumBatchParameters

0 or positive

99 (subject to change)

Maximum number of parameters in a batch.

jit:maximumBatchStatements

0 or positive

8 (subject to change)

Maximum number of statements in a batch.

Any value less than 2 effectively disables batching.

Larger values will give better performance as long as memory is available. Setting this too high may result in too many stored procedures being created, and the database server may run out of procedure cache.