Can view the tutorials best in Google Chrome, Mozilla Firefox, Opera, higher version of Internet Explorer

Jars Required For Hibernate Annotations

Hibernate » On Aug 28, 2011 By Sivateja

For working with annotations in hibernate,  ensure our java version must be 1.5 or higher and we must use hibernate version 3.3 or higher, and in fact no need to use all the jar files to work with these annotations.

Following jar files are pretty much enough…

  • antlr-2.7.6.jar
  • commons-collections-3.1.jar
  • dom4j-1.6.1.jar
  • hibernate-commons-annotations-3.2.0.Final.jar
  • hibernate-core-3.6.7.Final.jar
  • hibernate-jpa-2.0-api-1.0.1.Final.jar
  • javassist.jar
  • jms-1.1.jar
  • jsr250-api-1.0.jar
  • jta-1.1.jar
  • log4j-1.2.16.jar
  • ojdbc14.jar
  • slf4j-api-1.6.1.jar
  • slf4j-log4j12-1.6.1.jar

Total 14 jar files we need to set in the class path to work with these annotations with hibernate framework, actually i found all these jar files  in hibernate 3.3 and 3.4 versions, download both versions and pick these jar files. Still we can eliminate few jar files out of 14 jars but let it be :-)

And one more thing is jar files name must be same as what i have given above, with any version.

Let us start the applications on these annotations from the next session.

And click here to
Download Hibernate Annotations Jar Files







By [ Java/J2EE Developer & Web Designer ]
Founder of Java4s.com - Indian, lives in United States. You can contact me at sivateja@java4s.com


Comments

6 Responses to “Jars Required For Hibernate Annotations”
  1. Antione Breman says:

    Thanks for helping out, good information.

  2. adiaieue says:

    thanks for info

  3. Java4s says:

    @Antione Breman,@adiaieue

    You welcome friends :-)

  4. Reddy says:

    Excellent material
    can you please explain why we are using annotations with hibernate?

  5. RAJ says:

    Thank you very much for providing this valuable information.

  6. Sreekanth says:

    Thnks you very much such a simple as well as easy to get.

Name*
Mail*
Website



By posting your answer, you agree to our comments policy.
Most Recent Tutorials
Hibernate Recent Posts
Spring Recent Posts
Struts Recent Posts
Recomandded Links Current & UpComing Tutorials Java4s.com
Tutorials Online :
spring Hibernate struts Json Ajax Log4j Log4j
coreJava Servlets


UpComing :
JSP, Web Services [ In Progress ]
Java4s is optimized for learning java technologies, all the examples in this site are constantly reviewed to avoid errors. While using this site you agree to have read and accepted our terms of use and privacy policy
Especially i have prepared this blog by keeping fresher's in mind, however it will be very useful for real time developers too.


© 2014 Java4s All rights reserved. | strPro4Tut v(2.0) Theme designed by Team Java4s.