Working with entity objects

We have covered the basic lessons on entity objects in earlier sections of this chapter. It is time for us to put all the pieces together to understand the working of entity objects.

Programmatically creating an entity instance

The following example will help you to understand the create functionality on an entity object. This example assumes that you have already generated an entity object from the EMPLOYEES table and also generated Java classes for the entity object and entity definition. In this example, we create an instance of an employee entity object, populate the attribute values, and finally post the changes to the database by committing the transaction. This method is defined in the application module implementation ...

Get Oracle ADF Real World Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.