What is the purpose of AccessType.FIELD, AccessType.PROPERTY and @Access
问题 I just want to know what is the difference between all these annotations. Why are we using these... means they have no effect especially field level and property level. And what is the purpose of using mixed level annotation like: @Entity @Access(AccessType.FIELD) class Employee { // why their is a field level access private int id; // whats the purpose of transient here @Transient private String phnnumber; // why its a property level access @Access(AccessType.property) public String