Object dbVal = getPostedAttribute(ATTRIB);
Object currentVal = this.getAttribute(ATTRIB);
return dbVal.equals(currentVal);
OR for orginal vs current
Object origVal = super.getAttribute(ATTRIB, EntityImpl.ORIGINAL_VERSION);
Object currentVal = this.getAttribute(ATTRIB);
return origVal.equals(currentVal);
Object currentVal = this.getAttribute(ATTRIB);
return dbVal.equals(currentVal);
OR for orginal vs current
Object origVal = super.getAttribute(ATTRIB, EntityImpl.ORIGINAL_VERSION);
Object currentVal = this.getAttribute(ATTRIB);
return origVal.equals(currentVal);
Comments
Post a Comment