First page Back Continue Last page Text

oracle adf workshop


Centralizing Details in the Base Class

If you need to invoke a stored procedure that takes no arguments, you can use the executeCommand() method on the DBTransaction interface (in the oracle.jbo.server package).

After you have an infrastructure in place, when you base an entity object on the PLSQLEntityImpl class, select Source > Override Methods to override the callInsertProcedure(), callUpdateProcedure(), and callDeleteProcedure() helper methods and perform the appropriate stored procedure calls for that particular entity.