4.2. Configuring batching
To use batching, you need to enable invocation batching in your cache configuration, either on the
Configuration
object:
Configuration.setInvocationBatchingEnabled(true);
or in your XML file:
<invocationBatching enabled="true"/>
By default, invocation batching is disabled. Note that you do not have to have a transaction manager defined to use batching.