Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring 3, Hibernate 4.1 Maven 3 Tutorial? [closed]

I'm having some difficulty figuring out how to configure my project to use Hibernate. I've created a simple webapp which uses Spring 3.2 and Maven 3. I've been trying to find a good tutorial about how to incorporate Hibernate 4.1 into this project, but can't seem to find one.

I need to figure out how to configure my spring-servlet.xml file and my persistence.xml file (I'd like to use the JPA specifications to run hibernate.)

The Hibernate documentation http://www.hibernate.org/docs seems utterly devoid of useful information.

http://blog.springsource.org/2012/04/06/migrating-to-spring-3-1-and-hibernate-4-1/ looks like it would be useful. I tried following 2.B from that, but it still doesn't explain how to set up the persistence.xml, so ...

Anyone have any good recommendations?

like image 335
CorayThan Avatar asked Oct 05 '22 08:10

CorayThan


1 Answers

you can find here a good tutorial to start over scratch with Hibernate Spring and Maven frameworks.

And there is other tutorials on the same website just to discover.

like image 87
Zaroual Mohamed Avatar answered Oct 10 '22 02:10

Zaroual Mohamed