Hibernate configuration

-2

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.

    
asked by anonymous 24.05.2018 / 13:41

1 answer

-1

So I understand, your project is already working, but ideally you would create a new project yourself, to build it using JPA and etc, it is not difficult and you can copy your persistent classes and DAOs already created there .

Follow this tutorial here: link

    
24.05.2018 / 19:15