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.

Eclipse adds the following annotation to the field:



Related task

Mapping an entity


Related reference

JPA Structure view
JPA Details view (for attributes)


Related concept

Understanding OR mappings
Understanding EJB 3.0 Java Persistence API