CustomerEO customer = entityManager.find(CustomerEO.class, new Integer(1)); customer.setName("New Name"); customer.setShortName("New Short Name"); entityManager.merge(customer);