I am using eclipse IDE with hibernate plugin to write Hibernate JPA application. The problem I have is when I right click the project to provide me with the mapping diagram.i get error.But I have another project which uses hibernate with the mapping in the cfg.xml and for it it displays the mapping diagram. I am wondering if it works with JPA.please help.