JPA 2 with Hibernate sample code