Let's say i have an entity like this. What the difference between field a and b?
public class Human implements Serializable{
public transient String a;
@Transient
public String b;
}
Let's say i have an entity like this. What the difference between field a and b?
public class Human implements Serializable{
public transient String a;
@Transient
public String b;
}
transient
is about not serializing the field when @Transient
is about not persisting the field