Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
To remove one or more rows from an Entity Engine-managed database table, use the GenericDelegator object and call the appropriate methods as shown in the following code snippet:
Note: the Entity Engine negotiates record removal with the target data source using standard SQL commands constructed from method parameters passed by the calling program. If the target table rows cannot be removed because deletion violates referential integrity, neither OFBiz nor the underlying database will remove the indicated rows. Instead, an error will be thrown and control passed to the calling program.