예제 #1
0
 public static void save(Project project) {
   System.out.println("---> " + project.isPersistent());
   Logger.warn("Next warning is intended!");
   project.save();
   validation.keep();
   show(project.id);
 }
예제 #2
0
 public static void editMapAndSave(Long id) {
   Project project = Project.findById(id);
   project.companies.get("zenexity").name = "Coucou";
   project.save();
   show(id);
 }