persisting an entity with Hibernate/JPA