Package org.olat.properties

Examples of org.olat.properties.PropertyManager.updateProperty()


      for (Property property : props) {
        try{
          String oldVal = property.getTextValue();
          String newVal = migrateStringSavely(oldVal);
          property.setTextValue(newVal);
          pm.updateProperty(property);
          counter++;
          DBFactory.getInstance().intermediateCommit();
        } catch (Exception e) {
          log.error("Error during Migration: "+e, e);
          DBFactory.getInstance().rollback();
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.