Hibernate objects generated from db