0

I need to upgrade my client libraries i.e hibernate from 3.1.3 to 4.x.I'm preferring 4.1.6.I have done upgrading jdbc 4 to 5 successfully.Now the problem is we are going to latest release from 3.1.6. I'm seeing more than 250 errors.I'm bit confused in adding jars.I have added required folder from 4.1.6.Can some1 let me know should i add all the jars in required folder or just replace the jars present in my library

replaced:

antlr, commons-collections , dom4j , hibernate jar.

I have tried both ways adding all required jars folder and just replacing the jars which are same with my library and 4.1.6. In both cases i'm getting same errors.

thanks for ur reply

gnr14
  • 21
  • 1
  • 1
  • 10
  • try replacing all jar with the new ones, then clean and build the application. Be sure that you make the necessary changes such as adding extra description to web.xml etc. and if you still get errors, please share the specific error message so we can help you better. – berkay Aug 23 '12 at 14:31
  • The new jars may not be capable with any jar in your project. so make sure that your hibernate version is capable with other jars. – erencan Aug 23 '12 at 14:33
  • Hibernate 4 is NOT (fully) backwards compatible with Hibernate 3 -- especially 3.1.6, which still uses JPA 1. – Marco Sep 05 '12 at 10:58

1 Answers1

0

you should check the dependencies between jars in your project. you can use some tools like http://www.jboss.org/tattletale

erencan
  • 3,725
  • 5
  • 32
  • 50