i\'m using Netbeans 6.8 and build simple Maven web application project.
create Entity and main file for persist Entity [also create persist unit] and use EclipsLink.
Click Here to download hibernate-jpa-2.0-api-1.0.1.Final.jar and put it into the project library, your application will work fine. Good luck:)
hibernate-jpa-2.0-api-1.0.1.Final.jar