Package org.hibernate.envers

Examples of org.hibernate.envers.NotAudited


  private boolean fillPropertyData(XProperty property, PropertyAuditingData propertyData,
                   String accessType) {

    // check if a property is declared as not audited to exclude it
    // useful if a class is audited but some properties should be excluded
    NotAudited unVer = property.getAnnotation(NotAudited.class);
    if (unVer != null) {
      return false;
    } else {
      // if the optimistic locking field has to be unversioned and the current property
      // is the optimistic locking field, don't audit it
View Full Code Here


  private boolean fillPropertyData(XProperty property, PropertyAuditingData propertyData,
                   String accessType, Audited allClassAudited) {

    // check if a property is declared as not audited to exclude it
    // useful if a class is audited but some properties should be excluded
    NotAudited unVer = property.getAnnotation(NotAudited.class);
    if ((unVer != null && !overriddenAuditedProperties.contains(property)) || overriddenNotAuditedProperties.contains(property)) {
      return false;
    } else {
      // if the optimistic locking field has to be unversioned and the current property
      // is the optimistic locking field, don't audit it
View Full Code Here

TOP

Related Classes of org.hibernate.envers.NotAudited

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.