# 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

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

    @Transient

Related tasks

- Mapping an entity

Related references

- JPA Structure view

- JPA Details view (for attributes)

Related concepts

- Understanding OR mappings

- Understanding Java Persistence API