Hibernate mapping fix