Hi all,
I am building a system using JPA technology and I am looking for a JPA provider. I am using Eclipse with Dali. I am going to use standard EJB 3.0 code so that my code can work with different JPA providers.
I am looking for Hibernate JPA provider but here I am confused about which jars i need.
It looks like I need "Hibernate Core", "Hibernate Annotations" and "Hibernate Entity Manager". So I download all 3 of them and unzip them. Looking at their lib folder it seems "Hibernate Core" jar depends on 36 jars, "Hibernate Annotations" jar depends on 2 jars and "Hibernate Entity Manager" jar depends on 3 jars.
So does it mean I need 36 + 1 (for Hibernate Core) + 2 + 1 (for Hibernate Annotations) + 3 + 1 (for Hibernate Entity Manager) = 44 jar files in my project's classpath?
Or I just need these 4 jars:
ejb3-persistence.jar (from lib of "Hibernate Entity Manager")
hibernate-annotations.jar (from lib of "Hibernate Entity Manager")
hibernate-commons-annotations.jar (from lib of "Hibernate Entity Manager")
hibernate-entitymanager.jar ("Hibernate Entity Manager" jar)
Thanks