Fix Hibernate entity