edit beans for Hibernate