Java 类org.hibernate.envers.NotAudited 实例源码

项目:BCDS    文件:AbstractEntity.java   
@Column(name="OBJECT_ID")
@NotAudited
public UUID getObjectId() {
    if(objectId == null) {
        objectId = UUID.randomUUID();
    }

    return  objectId;
}
项目:base-framework    文件:User.java   
/**
 * 获取拥有角色
 * 
 * @return {@link Role}
 */
@NotAudited
@ManyToMany
@JoinTable(name = "TB_ACCOUNT_USER_ROLE", joinColumns = { @JoinColumn(name = "USER_ID") }, inverseJoinColumns = { @JoinColumn(name = "ROLE_ID") })
public List<Role> getRoleList() {
    return roleList;
}