Skip Headers

Oracle® Application Server Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 2 (10.1.2)
Part No. B15505-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Batching SQL statements in your entity beans�

To speed up the performance of your entity bean, you can configure two options for batching SQL statements, as follows:�

There is one exception to the batching size. If the code executes a SELECT statement within several UPDATE statements, the updates will be executed against the database before executing the select. This is done so that all updates are performed before you retrieve any data. If you know that it does not matter for this select to be performed, then you can stop the automatic flushing by specifying delay-updates-until-commit for the bean. �