@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface Transient
Example: @Entity public class Employee { @Id int id; @Transient User currentUser; ... }
Copyright © 2018,2020 Eclipse Foundation.Use is subject to license terms.