Configuration of Hibernate

Asked

Viewed 64 times

-2

I am in a web java project, using Hibernate, Maven, jsf, SGBD postgreeSQL and the apache Tomcat container, and now I am using the Hibernate configuration file (cfgConfig.XML) and would like to switch to the JPA(persistent.XML) configuration, MS n know how to do. the project is communicating with the bank, all straight, and did not want to start all over again. I searched thoroughly the solution MS n found nothing.

  • Hello, Daniel! Your question is very comprehensive, it is difficult to help you without knowing the details and having a context of your problem. It’s important to ask more specific questions possible, so it’s easy to help.

  • OK Dherid I will try to rephrase the question in more detail, thank you very much for the tip.

1 answer

-1

  • While this link may answer the question, it is best to include the essential parts of the answer here and provide the link for reference. Replies per link only can be invalidated if the page with the link is changed. - Of Revision

  • It’s because the process can a little great for me to explain here, so I put the link. But any googled that he does he finds tutorials to do this project with JPA

  • Thanks @Matheus.paulo93, I’ve been advised to do this, but I thought there would be a way that I didn’t need to start another project, just stop using Hibernate without JPA, to add JPA settings to the project. But I will take your advice, thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.