my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android 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
Author

hibernate annotations jar file in hibernate 4

Wilder Tang
Greenhorn

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

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

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.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
 
Consider Paul's rocket mass heater.
 
subject: hibernate annotations jar file in hibernate 4
 
Similar Threads
What are the jar files required for jpa and hibernate in Weblogic 9.2
hibernate with struts
Debug Error with JPA/Hibernate
Annotation with hibernate and Spring
Hibernate 3.3.1 setup help!