Reputation: 143
I searched on Google but each tutorial says different jar libs. Is there a full list of jar that I could have in order to use Hibernate correctly (on Eclipse)?
Upvotes: 0
Views: 1695
Reputation: 1297
From: http://www.tutorialspoint.com/hibernate/hibernate_environment.htm
Following is the list of the packages/libraries required by Hibernate and you should install them before starting with Hibernate. To install these packages you would have to copy library files from /lib into your CLASSPATH, and change your CLASSPATH variable accordingly.
dom4j - XML parsing www.dom4j.org/
Xalan - XSLT Processor http://xml.apache.org/xalan-j/
Xerces - The Xerces Java Parser http://xml.apache.org/xerces-j/
cglib - Appropriate changes to Java classes at runtime http://cglib.sourceforge.net/
log4j - Logging Faremwork http://logging.apache.org/log4j
Commons - Logging, Email etc. http://jakarta.apache.org/commons
7SLF4J - Logging Facade for Java http://www.slf4j.org
Upvotes: 0
Reputation: 503
You can look at maven repository. You need all the jars that in the /lib/required/ directory. the others are for support for more fitchers like JPA and etc. but for basic app you can use this jars for version 3 is:
Here is a good tutorial for hibernate: java brains
Upvotes: 2