@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Transient
Entity)、マップされたスーパークラス({MappedSuperclass)、または埋め込み可能なクラス({Embeddable)のプロパティまたはフィールドにアノテーションを付けるために使用されます。
Example:
@Entity
public class Employee {
@Id int id;
@Transient User currentUser;
...
}
Translated by @megascus.