January 2012
Intermediate to advanced
406 pages
11h 11m
English
There are times when you need to iterate through a view object rowset programmatically. In this recipe, we will see how to do this using a secondary rowset iterator. We will iterate over the Employees rowset and increase the employee's commission by a certain percentage for each employee that belongs to the Sales department.
This recipe was developed using the HRComponents workspace, which was created in the Overriding remove() to delete associated children entities recipe in Chapter 2, Dealing with Basics: Entity Objects. The HRComponents workspace requires a database connection to the HR schema.
Employees view object definition ...Read now
Unlock full access