Dali Java Persistence Tools User Guide > Tasks > Mapping an entity

Transient mapping

Use the Transient Mapping to specify a field of the entity class that is not persistent.

To create a transient mapping:

  1. In the JPA Structure view, select the field to map.

  2. Right-click the field and then select Map As Transient. The JPA Details view (for attributes) displays the properties for the selected.

    JPA Details, Transient Mapping

    JPA Details, Transient Mapping

There are no additional options for Transient mappings. Eclipse adds the following annotation to the field:

@Transient

Related tasks

Related references

Related concepts