Package com.aldaviva.autorpg.data.entities

Examples of com.aldaviva.autorpg.data.entities.Configuration.persist()


    for (ConfigurationKey key: ConfigurationKey.values()){
      if(Configuration.findConfiguration(key) == null){
        Configuration config = new Configuration();
        config.setKey(key);
        config.setValue(key.getDefaultValue());
        config.persist();
        LOGGER.info("Set config "+key+" to default value of \""+config.getValue()+"\"");
      }
    }
  }
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.