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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With