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