I am beginning with hibernate and JPA and I have been following several tutorials on JPA with eclipse link on Netbeans.
However, while still working on Netbeans I downloaded the hibernate-release-5.2.7.Final.zip manually from Hibernate web page and as stated here:
http://docs.jboss.org/hibernate/orm/5.2 ... _artifacts.
I added the lib/required directory and the lib/jpa-metamodel-generator/ to my java application and mysql-connector jar. After that, I created my persistence.xml as in gist.
Then I created a sample Entity Prueba and I added a JPA ControllerClass from Entity through NetBeans wizard next, to that I created a quick Dao for testing Hibernate.
After creating my main class everything works fine the object is added to MySQL but the app doesn't close on finish I show the log and everything on gist
https://gist.github.com/Paulwerito/111b ... c0452b8b2e