Dali Java Persistence Tools User Guide Release 3.2 Release 3.2 |
|
Adding persistence to a class |
Managing the persistence.xml file |
Home > User Guide > Tasks > Adding virtual attributes
To add a virtual attribute to an entity:
Open the eclipselink-orm.xml
mapping file.
In the JPA Structure view, right-click an entity and select Add Virtual Attribute. The Add Virtual Attribute dialog appears.
Complete the fields on the Add Virtual Attribute dialog and click OK. Dali adds the virtual attribute to the entity.
Related reference