My current web development tool is Spring 3, I've used Hibernate before, I'm actually quite familiar with it after I have access to the annotations and entities, and the session object. However, this will be my first time needing to actually set it up from scratch.
Currently I have a datasource that I have used for JDBCTemplate, and I want to reuse that for Hibernate.
Unfortunately, the more I read about Hibernate, the more confused I get. There are many different ways to configure it, and things have changed quite a bit since some of the tutorials. Most confusing is that sometimes a persistence.xml file is used, sometimes a hibernate config XML file.
Then there are session factories, but then there are also entity manager factories. Could someone please distill some of this information so I have a bit more of a clear path ahead of me.
My only real requirements are that I can use the annotations with Hibernate. I'd like to have support for transactions too.
I know this question is somewhat vague, but it's because I've been unable to actually find a solid "tutorialized" solution that is up to date with spring 3 that I trust.