Yes it is possible.
Hibernate Tools, which is now available as part of JBoss Tools, can be used to create JPA entities. In fact, you need to select the JPA option in the Hibernate configuration that is used for your project.
It would be better to start generating reverse coding as a JPA project. Then, once the project is created, switch to Hibernate Perspective to confirm that the JPA annotation option is selected in the hibernation configuration settings.
The following tutorial provides a graphical overview of the various steps involved in creating a JPA project in Eclipse. Then it also shows in the "Application" section how to edit the hibernation configuration.
http://www.javabrahman.com/j2ee/how-to-setup-a-jpa-project-with-a-data-connection-for-mysql-in-eclipse/
Frank source share