These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Which jars are needed for Hibernate JPA?
PostPosted: Sat Mar 08, 2008 4:25 pm 
Newbie

Joined: Sat Mar 08, 2008 3:48 pm
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.