File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes hibernate annotations jar file in hibernate 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate annotations jar file in hibernate 4" Watch "hibernate annotations jar file in hibernate 4" New topic

hibernate annotations jar file in hibernate 4

Wilder Tang

Joined: Dec 21, 2011
Posts: 1
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


in the \lib\jpa folder there is:

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

Joined: Jul 14, 2010
Posts: 754

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.

[] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
I agree. Here's the link:
subject: hibernate annotations jar file in hibernate 4
It's not a secret anymore!