Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate annotations jar file in hibernate 4

 
Wilder Tang
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am following Cameron McKenzie's book. It emphasized getting 3 files: ejb3-persistence.jar hibernate-commons-annotations.jar hibernate-annotations.jar
However, in hibernate-release-4.0.0.Final\lib\required, I find

hibernate-commons-annotations-4.0.1.Final
hibernate-jpa-2.0-api-1.0.1.Final
...

in the \lib\jpa folder there is:
hibernate-entitymanager-4.0.0.Final

*****************
I don't see the ejb3-persistence.jar, nor the hibernate-annotations.jar

I am quite sure the names have changed or something it is wrapped up in the new jar files. just need some help and clarifications.
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They change a lot of things.

I readed in another forum that the version 4 will not be compatible with version 3.

If the version 3 has everything you need, go for it because version 4 do not have a final version yet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic