if (lockCount == 0) { log.warn("called saveChanges without a lock");
boolean unlock = false; if (lockCount == 0 && automaticLockUnlock()) { unlock = true; lock(); if (!_autoLocked) lockLogger.warn("called method saveChanges without a lock, ec="+this); if (!_autoLocked && lockLogger.isDebugEnabled()) { lockLogger.debug(ERXUtilities.stackTrace()); }
    public void saveChanges() {        if (lockCount == 0) {            log.warn("called saveChanges without a lock");        }        super.saveChanges();    }