I'm in a java web project, using hibernate, maven, jsf, postgreeSQL DBMS and the apache tomcat container, and now I'm using the hibernate configuration file (cfgConfig.XML) and would like to switch to the JPA configuration persistent.xml), MS does not know how to do. the project is communicating with the bank, all right, and I did not want to start all over again. I searched extensively for the MS solution I did not find anything.