8.12.62 @Transient
- Organization of this subsection
(1) Description
This annotation specifies the fields or properties of the following non-persisting classes:
-
Entity class
-
Mapped superclass
-
Embedded class
The applicable targets are method and field.
The value of a field, in which @Transient is defined, is not persisted. However, since this value is stored in the persistence context, you can acquire the setup value. Howeachou cannot acquire the value from another EntityManager.
(2) Element
@Transient does not have attributes.