Databases Reference
In-Depth Information
Java
If you want to add a Java class for your enity object, you can add it here. There are three
types of Java classes that you can add. They are as follows:
Enity object class : This class contains the accessor informaion
Enity collecion class : This class maintains the enity collecion
Enity deiniion class : This class will refer to the deiniion of an enity
Business Events
This secion is used to raise events based on some business operaion. For example,
we have to noify some other applicaion or service if a row is inserted into the database.
We can publish an event from this secion using the payload.
View Accessor
This secion is used to provide a list source for the atribute. For example, you would want
to show the department names as a list opion instead of showing the department ID.
Association
Some important seings for the associaion are explained in this secion.
Relationship
The Behavior secion is used to specify the behavioral aspect of the associaion. Some of
the behavior's seings are:
Use Database Key constraints : Selecing this property will make sure that the
database constraint is added to the source and target enity objects.
Composiion Associaion : The composiion associaion is enabled between
the enity objects. This opion is helpful for master-detail mapping with
one-to-many relaionships. This seing will make sure that the parent-child
relaion remains intact and works properly.
The following opions will be enabled only for Composiion Associaion .
Optimize for Database Cascade Delete : This setting will make sure that
the Cascade Delete option works fine for parent-child relationships and
optimizes the deletion of the child objects row when the parent entity
objects are deleted.
 
Search WWH ::




Custom Search