Use the Transient Mapping to specify a field of the entity class that is not persistent.
To create a transient mapping:
In the JPA Structure view, select the field to map.
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:
@Transient