Databases Reference
In-Depth Information
Updating default ADF base classes
Once we have implemented our class, we have to configure our project to use the
extension class. To do this within the
Application Navigator
, right-click on the
ListingBC
project, and select
Project Properties
to launch the corresponding dialog.
Select
Base Classes
under
Business Components
from the navigational tree. Then
update the
Entity Object Row
base class to point at our custom class, as shown in
the following screenshot:
It's recommended as the best practice that before you define any
Business Components, you should create a layer of extension
classes for all the business components base classes. While initially
these might not contain any custom code, it provides a convenient
place to insert such code, if required, at a later stage.