|Class: com.sybase.djc.transaction.TransactionBatch (Transaction Batch)||EAServer 6.3 Help|
Transaction batches permit container-managed transactions from independent
threads to be grouped into a single transaction. This can help to increase
throughput, especially when using container-managed persistence with
and a data source with a
JIT driver wrapper.
When transaction batching is used, if for any reason a transaction batch must be rolled back, all of the individual transactions of the batch will be executed as independent transactions. This ensures that use of transaction batching does not preclude proper handling of transactions that must be rolled back.
See also: batch (Transaction Property).
|Configuration||See Set Properties Task.|
|Property: maximumBatchSize (Maximum Batch Size)|
|Description||The maximum number of transactions that will be grouped together into an occurrence of this batch.|
|Property: maximumBatchWait (Maximum Batch Wait)|
|Description||The number of milliseconds that the server will wait for a batch to fill up (reach the maximum size) before it will be executed regardless.|