javax.persistence.Transient - JPA annotation
javax.persistence
Annotation Transient
- Target:
- Fields (including property get methods)
Example:
@Entity public class Employee { @Id int id; @Transient User currentUser; ... }
- Since:
- JPA 1.0