@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface Transient
Example: @Entity public class Employee { @Id int id; @Transient User currentUser; ... }
Copyright © 2019 JBoss by Red Hat. All rights reserved.