-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate 3.3 dependencies
PostPosted: Thu Feb 12, 2009 11:49 pm 
Newbie

Joined: Fri Nov 23, 2007 3:08 am
Posts: 4
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:3.3.1

The Hibernate 3.3 core distribution contains the following libraries:
hibernate-distribution-3.3.1.GA\lib
bytecode\cglib
bytecode\javassist
optional\c3p0
optional\ehcache
optional\jbosscache
optional\jbosscache2
optional\oscache
optional\proxool
optional\swarmcache
required\antlr-2.7.6.jar
required\commons-collections-3.1.jar
required\dom4j-1.6.1.jar
required\javassist-3.4.GA.jar
required\jta-1.1.jar
required\slf4j-api-1.5.2.jar

I think I must include required\*.jar into my classpath, but how do I choose the libraries in bytecode and optional directories?

What are the minimal libraries to run Hibernate?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 13, 2009 1:15 am 
Expert
Expert

Joined: Fri Jan 30, 2009 1:47 am
Posts: 292
Location: Bangalore, India
The minimal set of jar to run a hibernate using application are:
    antlr-2.7.6.jar
    cglib-2.2.jar
    commons-collections-3.1.jar
    dom4j-1.6.1.jar
    hibernate3.jar
    javassist-3.4.GA.jar
    jta-1.1.jar
    log4j-1.2.15.jar
    slf4j-api-1.4.2.jar
    slf4j-log4j12-1.5.2.jar
    JDBC Driver jar

_________________
Regards,
Litty Preeth


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 13, 2009 3:50 am 
Newbie

Joined: Fri Nov 23, 2007 3:08 am
Posts: 4
Hi littypreethkr

Thank you, so the minimal dependency is really the JARs from
lib\required\*.jar
lib\bytecode\cglib\*.jar and
lib\bytecode\javassist\*.jar


Do you know if there is any document describing the dependencies?
I failed to find this from Google ...

Also, I'm confused when the same Javassist is found in two directories:
lib\required\javassist-3.4.GA.jar
lib\bytecode\javassist\javassist-3.4.GA.jar


Thank you!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 13, 2009 4:32 am 
Expert
Expert

Joined: Fri Jan 30, 2009 1:47 am
Posts: 292
Location: Bangalore, India
I dont really remember how I figured out this list, I think it was through trial n error.

_________________
Regards,
Litty Preeth


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

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.