This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

While spring documentation is the right place where you can find the related details, I would say that the second and third options are needed for configuring the datasource and session factory and a txmanager would also be required further for you to complete the application configuration.

Comment

If you are using spring 2.5 download spring with dependencies zip file, when you extract zip file you see several folders out of these in the library you require are in "spring2.5/lib/hibernate". This is the download link. http://www.springsource.org/download.
I did configure it, and I needed atleast hibernate3.jar, spring.jar, spring-hibernate3.jar and configuration files like hsqlbd.jar if you are using hsqldb or mysql-connector-java-5.x.jar if you are using mysql database.