JPA example with hibernate provider