Integrated Hibernate 4.0 and write a jopo