code: public synchronized void setActivityInstanceStatus(ActivityInstance actInst,
              Integer status, String statusMessage)
              throws SQLException {
          if (cache_activity_transition==CACHE_ONLY) {
              actInst.setStatusCode(status);
              actInst.setMessage(statusMessage);
          } else {
              edadb.setActivityInstanceStatus(actInst, status, statusMessage);
          }
      }
docs: changed to append in all cases