Annotation Interface Transient


@Target(FIELD) @Retention(RUNTIME) public @interface Transient
Indicates that the annotated field is not mapped to a database column.

The annotated field must be a member of an Entity annotated class.

 @Entity
 public class Employee {
     ...
     @Transient
     Integer tempNumber;

     ...
 }