Package org.olat.core.commons.persistence

Examples of org.olat.core.commons.persistence.DB.intermediateCommit()


        changedIdentities.add(identity);
        log.audit("user successfully changed during bulk-change: " + identity.getName());
      }

      // commit changes for this user
      db.intermediateCommit();
    }

  }

  public String evaluateValueWithUserContext(String valToEval, Context vcContext) {
View Full Code Here


        // write something to the console after each 100 user, this can take a
        // while with many users and it is handy to know that the system is
        // doing something
        if (i % 250 == 0) {
          log.audit("Busy creating disclaimer confirmation. Done with " + i + " of a total of " + identities.size() + " users. Please wait ...");
          db.intermediateCommit();
        }
      }
      log.audit("Done with creating disclaimer confirmation for " + identities.size() + " users");
     
      uhd.setBooleanDataValue(TASK_CREATE_DISCLAIMER_CONFIRMATION, true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.