Пример #1
0
 @End
 public String createNewPerson(Issue issue23, java.util.Set<Person> assigned3) {
   Person var74 = new Person();
   Person person413 = var74;
   assigned3.add(person413);
   em.persist(issue23);
   return "/" + "editPerson" + ".seam?" + ("person" + "=" + person413.getId() + "");
 }
 @Factory("person181List")
 public void initPerson181List() {
   log.info("initPerson181List");
   person181List = new HashMap<String, String>();
   for (Object o : em.createQuery("from " + "Person").getResultList()) {
     Person p = (Person) o;
     person181List.put(p.getName(), p.getId().toString());
   }
 }