First page Back Continue Last page Text

oracle adf workshop


Implementing the Stored Procedure for DML Operations

If you plan to have more than one entity object based on a PL/SQL API, abstract the generic details into a base framework extension class. Start by creating a PLSQLEntityImpl class that extends the base EntityImpl class that each one of your PL/SQL-based entities can use as their base class. As shown in the previous slide, you override the doDML() method of the base class to invoke a different helper method based on the operation.