public void testChangeReadOnlyField()
throws Exception
{
getLog().debug("Retrieving home");
TestEntityHome home = TestEntityUtil.getHome();
getLog().debug("Creating entity");
TestEntityValue value = new TestEntityValue("key4", "original");
TestEntity bean = home.create(value);
getLog().debug("Access the value");
assertEquals("original", bean.getValue1());
getLog().debug("Change the value");
home.changeValue1("key4", "changed");
assertEquals("changed", bean.getValue1());
}