Alter in Hibernate and work in this class