Implementing INSERT through Hibernate