How to get JPA configured with Spring 3?

前端 未结 3 1489
生来不讨喜
生来不讨喜 2020-12-23 12:40

I have been reading spring\'s documentation, but I must say it is a bit confusing, giving several different option on how to configure JPA.

What is the best way, and

3条回答
  •  死守一世寂寞
    2020-12-23 13:15

    I would suggest you take a look at Spring Roo, it creates a Spring web project together with the pom and all configuration files needed (e.g. JPA). And if you don't like Roo you can drop it and threat the project as usual Spring Web application. IMHO the fastest way to get a initial project setup.

提交回复
热议问题