Advanced topics on entity objects
In the earlier chapters, we saw the basic features of entity objects and learned how to use them for our web application. In this chapter, we will see some advanced features of the entity object, which is more powerful in building a robust and scalable ADF web application.
Tuning
The Use Update Batching checkbox in the Tuning section
of an entity object's Overview tab is used to update the underlying tables for the entity object, and to use a statement that has minimal queries for the INSERT
, DELETE
, and UPDATE
operations. One bulk CRUD statement is used for transactions involving independent statements. When this option is checked, you will have to provide a value in the When Number of Entities to Modify Exceeds: box. The default option is 1
, which will enable update batching when the number of entities exceed one.
The Retain Association Accessor Rowset option in the Tuning section is used to retain the association accessor when the entity is involved in...