January 2012
Intermediate to advanced
406 pages
11h 11m
English
In this recipe, we will consider a simple technique that we can use to enforce having detailed records when inserting a new master record in an entity association relationship. The use case demonstrates how to enforce creating at least one employee at the time when a new department is created.
We will use the HR database schema and the HRComponents workspace that we have created in previous recipes in this chapter.
DepartmentImpl custom entity implementation class and override the doDML() method using the Override Methods dialog.doDML() method before the call to super.doDML():// check ...
Read now
Unlock full access