User, EventType working with Hibernate