}
};
DynamicDAO.addEntityListener(IPerson.class, personListener);
long savedJohnId = DynamicDAO.save(initialJohn).getId().longValue();
System.gc();
IPerson savedJohn = DynamicDAO.load(IPerson.class, savedJohnId);
initialJohn.setId(savedJohn.getId());
assertTrue(initialJohn.isIdentical(savedJohn));
URI oldJohnEmail = savedJohn.getEmail();
IPerson dan = createPersonDan(feed);
dan.setEmail(oldJohnEmail);
DynamicDAO.removeEntityListener(IPerson.class, personListener);
DynamicDAO.save(dan);
savedJohn.setEmail(createURI("anewemailaddress@gmail.com"));
updatedJohn[0] = (Person) savedJohn;
DynamicDAO.addEntityListener(IPerson.class, personListener);