318319320321322323324325326327328
r.setValue("store", s1.getId()); r.setValue("name", "regal 1"); r.create(manager); r.setValue("name", "regal 22113221"); r.save(); Regal r2 = (Regal) manager.getObject(Regal.class, r.getValue("id")); assertNotNull(r2); r2.reload();