change the hbm.xml to JPA annotation