Transient Attribute in Oracle ADF 11g

We Know That attributes in entity objects comes from underlying database tables. But some time we want an attribute for showing some results or multiplication or addition or something else for two attributes. But we have not any attribute in our database. So how we can perform this types of tasks.

We can use a Transient Attribute for this purpose. Transient Attribute has no link to database it just use to show some informations i.e total salary etc.We can use groovy and java language to assign values to this attribute.
  To create a Transient Attribute;

1) Go to Your entity Object and Open it.
2) Go to Attributes tab.

3) Click on Green Plus button and select “add new attribute”
4) Give the name of attribute and then from detail tab select “Transient” and then set its data types
accordingly.


Posted

in

, ,

by

Tags:

Comments

One response to “Transient Attribute in Oracle ADF 11g”

  1. Anonymous Avatar
    Anonymous

    Good work. Thanks